src/ServiceProvider.php
protected function registerServiceProviders(Repository $config)
    {
        foreach ($this->getComponentsFromConfig($config, 'register', getenv('APP_ENV')) as $provider) {
            $this->app->register($provider);

            $config->push('app.providers', $provider);
        }
    }
protected function registerServiceProviders(Repository $config)
    {
        foreach ($this->getComponentsFromConfig($config, 'register', getenv('APP_ENV')) as $provider) {
            $this->app->register($provider);

            $config->push('app.providers', $provider);
        }
    }
protected function registerServiceProviders ( Repository $ config ) { foreach ( $ this -> getComponentsFromConfig ( $ config , 'register' , getenv ( 'APP_ENV' ) ) as $ provider ) { $ this -> app -> register ( $ provider ) ; $ config -> push ( 'app.providers' , $ provider ) ; } }
Register the service providers under the "register" call

@param Repository $config
Register the service providers under the register call