src/App.php
protected function boot()
    {
        if ($this->booted) {
            return;
        }

        $this->booted = true;
        foreach ($this->eventSubscribers as $subscriber) {
            $this->container['eventDispatcher']->addSubscriber($subscriber);
        }
    }
protected function boot()
    {
        if ($this->booted) {
            return;
        }

        $this->booted = true;
        foreach ($this->eventSubscribers as $subscriber) {
            $this->container['eventDispatcher']->addSubscriber($subscriber);
        }
    }
protected function boot ( ) { if ( $ this -> booted ) { return ; } $ this -> booted = true ; foreach ( $ this -> eventSubscribers as $ subscriber ) { $ this -> container [ 'eventDispatcher' ] -> addSubscriber ( $ subscriber ) ; } }
Boots the Application by calling boot on every provider added and then subscribe
in order to add listeners.

@return void
Boots the Application by calling boot on every provider added and then subscribe in order to add listeners .