original_string: public function resources()
      {   
          $options = Config::get('laravel-swagger::getResourceListOptions');
  
          $excludedPath = Config::get('laravel-swagger::excludedPath');
          $swagger = new Swagger($this->getPaths(), $excludedPath);
  
          if (Config::get('laravel-swagger::cache')) {
              $resourceList = Cache::remember('resourceList', $this->getExpireAt(), function() use ($swagger, $options)
              {
                  return $swagger->getResourceList($options);
              });
          } else {
              $resourceList = $swagger->getResourceList($options);
          }
  
          return $resourceList;
      }
code: public function resources()
      {   
          $options = Config::get('laravel-swagger::getResourceListOptions');
  
          $excludedPath = Config::get('laravel-swagger::excludedPath');
          $swagger = new Swagger($this->getPaths(), $excludedPath);
  
          if (Config::get('laravel-swagger::cache')) {
              $resourceList = Cache::remember('resourceList', $this->getExpireAt(), function() use ($swagger, $options)
              {
                  return $swagger->getResourceList($options);
              });
          } else {
              $resourceList = $swagger->getResourceList($options);
          }
  
          return $resourceList;
      }
code_tokens: public function resources ( ) { $ options = Config :: get ( 'laravel-swagger::getResourceListOptions' ) ; $ excludedPath = Config :: get ( 'laravel-swagger::excludedPath' ) ; $ swagger = new Swagger ( $ this -> getPaths ( ) , $ excludedPath ) ; if ( Config :: get ( 'laravel-swagger::cache' ) ) { $ resourceList = Cache :: remember ( 'resourceList' , $ this -> getExpireAt ( ) , function ( ) use ( $ swagger , $ options ) { return $ swagger -> getResourceList ( $ options ) ; } ) ; } else { $ resourceList = $ swagger -> getResourceList ( $ options ) ; } return $ resourceList ; }
docstring: Show all available Resources
docstring_tokens: Show all available Resources