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);
        }
    }