interface EnvVarProcessorInterface

The EnvVarProcessorInterface is implemented by objects that manage environment-like variables.

Methods

mixed
getEnv(string$prefix,string$name,Closure$getEnv)

Returns the value of the given variable as managed by the current instance.

static array
getProvidedTypes()

No description

Details

mixed getEnv(string$prefix,string$name,Closure$getEnv)

Returns the value of the given variable as managed by the current instance.

Parameters

string $prefix
string $name
Closure $getEnv

Return Value

mixed

Exceptions

RuntimeException on error

staticarray getProvidedTypes()

Return Value

array string> The PHP-types managed by getEnv(), keyed by prefixes