PHP Class Consolidation\Cgr\Env

Afficher le fichier Open project: consolidation/cgr

Protected Properties

Свойство Type Description
$env

Méthodes publiques

Méthode Description
__construct ( $env )
apply ( ) : Env Apply a set of environment variables; return the original value of any value that is set, to avoid polluting the environment.

Méthodes protégées

Méthode Description
setEnvValue ( string $key, mixed $value ) Set or un-set one environment variable

Method Details

__construct() public méthode

public __construct ( $env )

apply() public méthode

Apply a set of environment variables; return the original value of any value that is set, to avoid polluting the environment.
public apply ( ) : Env
Résultat Env

setEnvValue() protected static méthode

Set or un-set one environment variable
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.

Property Details

$env protected_oe property

protected $env