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

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

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

Usage Example

 /**
  * Load the scanned events for the application.
  *
  * @return void
  */
 protected function loadScannedEvents()
 {
     $events = $this->app['Illuminate\\Contracts\\Events\\Dispatcher'];
     require $this->finder->getScannedEventsPath();
 }