src/Traits/BindIlluminate.php
protected function getIlluminateConfig(Container $app)
    {
        $files = array();

        foreach (Finder::create()->files()->name('*.php')->in($app['path.config']) as $file) {
            $files[basename($file->getRealPath(), '.php')] = $file->getRealPath();
        }

        return $files;
    }
protected function getIlluminateConfig(Container $app)
    {
        $files = array();

        foreach (Finder::create()->files()->name('*.php')->in($app['path.config']) as $file) {
            $files[basename($file->getRealPath(), '.php')] = $file->getRealPath();
        }

        return $files;
    }
protected function getIlluminateConfig ( Container $ app ) { $ files = array ( ) ; foreach ( Finder :: create ( ) -> files ( ) -> name ( '*.php' ) -> in ( $ app [ 'path.config' ] ) as $ file ) { $ files [ basename ( $ file -> getRealPath ( ) , '.php' ) ] = $ file -> getRealPath ( ) ; } return $ files ; }
Get all configuration files from the application.

@param  Container  $app
@return array
Get all configuration files from the application .