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();
    }
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();
    }
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 ( ) ; }
Register the application's annotated event listeners.

@return void
Register the application s annotated event listeners .