original_string: public function apiRestore()
      {
          $toRestore = request()->input('list');
  
          if (sizeOf($toRestore) <= 0)
              return HCLog::info('CORE-0006', trans('HCTranslations::core.nothing_to_restore'));
  
          $response = $this->__apiRestore($toRestore);
  
          if (isset($response))
              return $response;
  
          return ['success' => true, 'list' => $toRestore];
      }
code: public function apiRestore()
      {
          $toRestore = request()->input('list');
  
          if (sizeOf($toRestore) <= 0)
              return HCLog::info('CORE-0006', trans('HCTranslations::core.nothing_to_restore'));
  
          $response = $this->__apiRestore($toRestore);
  
          if (isset($response))
              return $response;
  
          return ['success' => true, 'list' => $toRestore];
      }
code_tokens: public function apiRestore ( ) { $ toRestore = request ( ) -> input ( 'list' ) ; if ( sizeOf ( $ toRestore ) <= 0 ) return HCLog :: info ( 'CORE-0006' , trans ( 'HCTranslations::core.nothing_to_restore' ) ) ; $ response = $ this -> __apiRestore ( $ toRestore ) ; if ( isset ( $ response ) ) return $ response ; return [ 'success' => true , 'list' => $ toRestore ] ; }
docstring: Recovers items from database by given id's
  Just need to set wanted Model name with list parameter
  
  @return mixed
docstring_tokens: Recovers items from database by given id s Just need to set wanted Model name with list parameter