original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Get all configuration files from the application.
  
  @param  Container  $app
  @return array
docstring_tokens: Get all configuration files from the application .