Property | Type | Description | |
---|---|---|---|
$env |
Method | Description | |
---|---|---|
__construct ( $env ) | ||
apply ( ) : |
Apply a set of environment variables; return the original value of any value that is set, to avoid polluting the environment. |
Method | Description | |
---|---|---|
setEnvValue ( string $key, mixed $value ) | Set or un-set one environment variable |
public apply ( ) : |
||
return |
protected static setEnvValue ( string $key, mixed $value ) | ||
$key | string | The environment variable to set or unset |
$value | mixed | THe value to set the variable to, or false to unset. |