src/ServiceProvider.php
protected function registerFacadeAliases(Repository $config)
    {
        $loader = AliasLoader::getInstance();

        foreach ($this->getComponentsFromConfig($config, 'facades', getenv('APP_ENV')) as $alias => $facade) {
            $loader->alias($alias, $facade);

            $config->set('app.aliases.' . $alias, $facade);
        }
    }
protected function registerFacadeAliases(Repository $config)
    {
        $loader = AliasLoader::getInstance();

        foreach ($this->getComponentsFromConfig($config, 'facades', getenv('APP_ENV')) as $alias => $facade) {
            $loader->alias($alias, $facade);

            $config->set('app.aliases.' . $alias, $facade);
        }
    }
protected function registerFacadeAliases ( Repository $ config ) { $ loader = AliasLoader :: getInstance ( ) ; foreach ( $ this -> getComponentsFromConfig ( $ config , 'facades' , getenv ( 'APP_ENV' ) ) as $ alias => $ facade ) { $ loader -> alias ( $ alias , $ facade ) ; $ config -> set ( 'app.aliases.' . $ alias , $ facade ) ; } }
Registers any facades that have been defined

@param Repository $config
Registers any facades that have been defined