EnvVarProcessor implements EnvVarProcessorInterface
Table of Contents
Interfaces
- EnvVarProcessorInterface
Methods
- getEnv() : mixed
- getProvidedTypes() : array<string|int, string>
Methods
getEnv()
public
getEnv(string $prefix, string $name, Closure $getEnv) : mixed
Parameters
- $prefix : string
-
The namespace of the variable
- $name : string
-
The name of the variable within the namespace
- $getEnv : Closure
-
A closure that allows fetching more env vars
Tags
getProvidedTypes()
public
static getProvidedTypes() : array<string|int, string>
Return values
array<string|int, string> —The PHP-types managed by getEnv(), keyed by prefixes