src/Core/Application.php
public function loadConfigurationFiles(Repository $config, $path = '')
    {
        $files = $this->getConfigurationFiles($path);

        foreach ($files as $key => $path) {
            $config->set($key, require $path);
        }

        return $this;
    }
public function loadConfigurationFiles(Repository $config, $path = '')
    {
        $files = $this->getConfigurationFiles($path);

        foreach ($files as $key => $path) {
            $config->set($key, require $path);
        }

        return $this;
    }
public function loadConfigurationFiles ( Repository $ config , $ path = '' ) { $ files = $ this -> getConfigurationFiles ( $ path ) ; foreach ( $ files as $ key => $ path ) { $ config -> set ( $ key , require $ path ) ; } return $ this ; }
Load configuration files based on given path.

@param Repository $config
@param string     $path   The configuration files folder path.

@return Application
Load configuration files based on given path .