src/Plugins/Providers.php
protected function handleProviders()
    {
        // register deferred providers
        foreach ($this->deferredProviders as $provider) {
            $this->app->registerDeferredProvider($provider);
        }

        if ($this->registerProvidersMethod === 'register') {
            $this->registerProviders();
        } elseif ($this->registerProvidersMethod === 'resolve') {
            $this->resolveProviders();
        } else {
            throw new \LogicException('registerProvidersMethod not valid');
        }
    }
protected function handleProviders()
    {
        // register deferred providers
        foreach ($this->deferredProviders as $provider) {
            $this->app->registerDeferredProvider($provider);
        }

        if ($this->registerProvidersMethod === 'register') {
            $this->registerProviders();
        } elseif ($this->registerProvidersMethod === 'resolve') {
            $this->resolveProviders();
        } else {
            throw new \LogicException('registerProvidersMethod not valid');
        }
    }
protected function handleProviders ( ) { // register deferred providers foreach ( $ this -> deferredProviders as $ provider ) { $ this -> app -> registerDeferredProvider ( $ provider ) ; } if ( $ this -> registerProvidersMethod === 'register' ) { $ this -> registerProviders ( ) ; } elseif ( $ this -> registerProvidersMethod === 'resolve' ) { $ this -> resolveProviders ( ) ; } else { throw new \ LogicException ( 'registerProvidersMethod not valid' ) ; } }
handleProviders method.
handleProviders method .