class EnvVarProcessor implements EnvVarProcessorInterface

Methods

__construct(ContainerInterface $container)

No description

static string[]
getProvidedTypes()

No description

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

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

Details

at line 25
__construct(ContainerInterface $container)

Parameters

ContainerInterface $container

at line 33
static string[] getProvidedTypes()

Return Value

string[] The PHP-types managed by getEnv(), keyed by prefixes

at line 51
mixed getEnv(string $prefix, string $name, Closure $getEnv)

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

Parameters

string $prefix The namespace of the variable
string $name The name of the variable within the namespace
Closure $getEnv A closure that allows fetching more env vars

Return Value

mixed

Exceptions

RuntimeException on error