src/App.php
protected function loadApplicationConfigFiles($userSettings)
    {
        $parser = $this['config-parser'];
        $loader = $this['config-finder'];
        $userSettings = array();
        foreach ($loader->findFiles() as $path) {
            if (is_readable($path)) {
                $parsedFile = $parser->parseFile($path);
                if ($parsedFile !== false) {
                    $this->addConfig($parsedFile);
                }
            } else {
                echo "Invalid path $path\n";
            }
        }
    }
protected function loadApplicationConfigFiles($userSettings)
    {
        $parser = $this['config-parser'];
        $loader = $this['config-finder'];
        $userSettings = array();
        foreach ($loader->findFiles() as $path) {
            if (is_readable($path)) {
                $parsedFile = $parser->parseFile($path);
                if ($parsedFile !== false) {
                    $this->addConfig($parsedFile);
                }
            } else {
                echo "Invalid path $path\n";
            }
        }
    }
protected function loadApplicationConfigFiles ( $ userSettings ) { $ parser = $ this [ 'config-parser' ] ; $ loader = $ this [ 'config-finder' ] ; $ userSettings = array ( ) ; foreach ( $ loader -> findFiles ( ) as $ path ) { if ( is_readable ( $ path ) ) { $ parsedFile = $ parser -> parseFile ( $ path ) ; if ( $ parsedFile !== false ) { $ this -> addConfig ( $ parsedFile ) ; } } else { echo "Invalid path $path\n" ; } } }
Load any application config files

@var ConfigFileFinderInterface $loader
Load any application config files