protected function bootEach() {
        foreach ($this->providers as $class => &$data) {
            if ( ! array_contains(array_get($data, 'tags'), ProviderTag::BOOTED)) {
                $this->initialize();

                array_add($data, 'tags', ProviderTag::BOOTED);
                $instance = array_get($data, 'instance');

                if (method_exists($instance, 'boot')) {
                    $this->getProviderInvoker()
                        ->boot($instance, $this->getSharedArguments());
                }

                $this->bootEach();
                break;
            }
        }
    }
protected function bootEach() {
        foreach ($this->providers as $class => &$data) {
            if ( ! array_contains(array_get($data, 'tags'), ProviderTag::BOOTED)) {
                $this->initialize();

                array_add($data, 'tags', ProviderTag::BOOTED);
                $instance = array_get($data, 'instance');

                if (method_exists($instance, 'boot')) {
                    $this->getProviderInvoker()
                        ->boot($instance, $this->getSharedArguments());
                }

                $this->bootEach();
                break;
            }
        }
    }
protected function bootEach ( ) { foreach ( $ this -> providers as $ class => & $ data ) { if ( ! array_contains ( array_get ( $ data , 'tags' ) , ProviderTag :: BOOTED ) ) { $ this -> initialize ( ) ; array_add ( $ data , 'tags' , ProviderTag :: BOOTED ) ; $ instance = array_get ( $ data , 'instance' ) ; if ( method_exists ( $ instance , 'boot' ) ) { $ this -> getProviderInvoker ( ) -> boot ( $ instance , $ this -> getSharedArguments ( ) ) ; } $ this -> bootEach ( ) ; break ; } } }
Boot all providers.

@return void
Boot all providers .