PHP Класс FluxBB\Util\ConfigLoader

Показать файл Открыть проект

Открытые методы

Метод Описание
loadFrom ( Illuminate\Contracts\Config\Repository $config, string $configPath ) : void Load the config files from the given path and store the values in the repository.

Защищенные методы

Метод Описание
filesIn ( string $configPath ) : string[] Get all files in the given directory.

Описание методов

filesIn() защищенный Метод

Returns an array with the full paths to all PHP files in the given directory, indexed by name without extension.
protected filesIn ( string $configPath ) : string[]
$configPath string
Результат string[]

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