src/Application.php
protected function registerContainerAliases()
    {
        $aliases = [
            'app' => ['Illuminate\Container\Container', 'Illuminate\Contracts\Container\Container'],
            'config' => ['Illuminate\Config\Repository', 'Illuminate\Contracts\Config\Repository'],
            'log' => ['Psr\Log\LoggerInterface'],
        ];
        
        foreach ($aliases as $key => $aliases) {
            foreach ($aliases as $alias) {
                $this->alias($key, $alias);
            }
        }
    }
protected function registerContainerAliases()
    {
        $aliases = [
            'app' => ['Illuminate\Container\Container', 'Illuminate\Contracts\Container\Container'],
            'config' => ['Illuminate\Config\Repository', 'Illuminate\Contracts\Config\Repository'],
            'log' => ['Psr\Log\LoggerInterface'],
        ];
        
        foreach ($aliases as $key => $aliases) {
            foreach ($aliases as $alias) {
                $this->alias($key, $alias);
            }
        }
    }
protected function registerContainerAliases ( ) { $ aliases = [ 'app' => [ 'Illuminate\Container\Container' , 'Illuminate\Contracts\Container\Container' ] , 'config' => [ 'Illuminate\Config\Repository' , 'Illuminate\Contracts\Config\Repository' ] , 'log' => [ 'Psr\Log\LoggerInterface' ] , ] ; foreach ( $ aliases as $ key => $ aliases ) { foreach ( $ aliases as $ alias ) { $ this -> alias ( $ key , $ alias ) ; } } }
Register the core container aliases.

@return void
Register the core container aliases .