PHP Class FluxBB\Util\ConfigLoader

Afficher le fichier Open project: fluxbb/core

Méthodes publiques

Méthode Description
loadFrom ( Illuminate\Contracts\Config\Repository $config, string $configPath ) : void Load the config files from the given path and store the values in the repository.

Méthodes protégées

Méthode Description
filesIn ( string $configPath ) : string[] Get all files in the given directory.

Method Details

filesIn() protected méthode

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
Résultat string[]

loadFrom() public méthode

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
Résultat void