Collective\Annotations\AnnotationsServiceProvider::boot PHP Метод

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

Register the application's annotated event listeners.
public boot ( ) : void
Результат void
    public function boot()
    {
        $this->addEventAnnotations($this->app->make('annotations.event.scanner'));
        $this->loadAnnotatedEvents();
        $this->addRoutingAnnotations($this->app->make('annotations.route.scanner'));
        if (!$this->app->routesAreCached()) {
            $this->loadAnnotatedRoutes();
        }
        $this->addModelAnnotations($this->app->make('annotations.model.scanner'));
        $this->loadAnnotatedModels();
    }