FluxBB\Util\ConfigLoader::loadFrom PHP Метод

loadFrom() публичный Метод

Load the config files from the given path and store the values in the repository.
public loadFrom ( Illuminate\Contracts\Config\Repository $config, string $configPath ) : void
$config Illuminate\Contracts\Config\Repository
$configPath string
Результат void
    public function loadFrom(Repository $config, $configPath)
    {
        foreach ($this->filesIn($configPath) as $group => $configFile) {
            $config->set($group, require $configFile);
        }
    }