public function boot()
    {
        $db = $this->app['db'];

        $events = $this->app['events'];

        // Setup the ORM Model.
        Model::setConnectionResolver($db);

        Model::setEventDispatcher($events);
    }
public function boot()
    {
        $db = $this->app['db'];

        $events = $this->app['events'];

        // Setup the ORM Model.
        Model::setConnectionResolver($db);

        Model::setEventDispatcher($events);
    }
public function boot ( ) { $ db = $ this -> app [ 'db' ] ; $ events = $ this -> app [ 'events' ] ; // Setup the ORM Model. Model :: setConnectionResolver ( $ db ) ; Model :: setEventDispatcher ( $ events ) ; }
Bootstrap the Application events.

@return void
Bootstrap the Application events .