Свойство | Type | Description | |
---|---|---|---|
$config | |||
$env | |||
$userConfig |
Méthode | Description | |
---|---|---|
__construct ( array $env = null, string | null $defaultsFile = null, boolean $reset = false ) | ||
get ( string $name ) : mixed | ||
getUserConfig ( ) : array | ||
getUserConfigDir ( ) : string | ||
has ( string $name, boolean $notNull = true ) : boolean | ||
writeUserConfig ( array $config ) | Update user configuration. |
Méthode | Description | |
---|---|---|
applyEnvironmentOverrides ( ) | ||
applyUserConfigOverrides ( ) | ||
getEnv ( string $name ) : mixed | false | Get an environment variable | |
loadConfigFromFile ( string $filename ) : array |
protected loadConfigFromFile ( string $filename ) : array | ||
$filename | string | |
Résultat | array |
public writeUserConfig ( array $config ) | ||
$config | array |