Collective\Annotations\AnnotationFinder::getScannedModelsPath PHP Метод

getScannedModelsPath() публичный Метод

Get the path to the scanned models file.
public getScannedModelsPath ( ) : string
Результат string
    public function getScannedModelsPath()
    {
        return $this->app['path.storage'] . '/framework/models.scanned.php';
    }

Usage Example

 /**
  * Load the scanned application models.
  *
  * @return void
  */
 protected function loadScannedModels()
 {
     $this->app->booted(function () {
         $router = $this->app['Illuminate\\Contracts\\Routing\\Registrar'];
         require $this->finder->getScannedModelsPath();
     });
 }