Свойство | Type | Description | |
---|---|---|---|
$config | configuration data | ||
$environment | environment | ||
$modules | modules configuration data | ||
$path | path to configuration files |
Méthode | Description | |
---|---|---|
getData ( string | null $key = null, string | null $section = null ) : array | mixed | Return configuration by key | |
getModuleData ( string $module, string $section = null ) : mixed | Return module configuration by section | |
init ( ) : void | Load configuration | |
setEnvironment ( string $environment ) : void | Set application environment | |
setPath ( string $path ) : void | Set path to configuration files |
Méthode | Description | |
---|---|---|
loadFile ( string $path ) : array | Load configuration file | |
loadFiles ( string $path ) : array | Load configuration files to array |
public setEnvironment ( string $environment ) : void | ||
$environment | string | |
Résultat | void |