interface EnvVarProcessorInterface
The EnvVarProcessorInterface is implemented by objects that manage environment-like variables.
mixed | getEnv(string $prefix, string $name, Closure $getEnv) Returns the value of the given variable as managed by the current instance. | |
static string[] | getProvidedTypes() |
Returns the value of the given variable as managed by the current instance.
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 |
mixed |
RuntimeException | on error |
string[] | The PHP-types managed by getEnv(), keyed by prefixes |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/DependencyInjection/EnvVarProcessorInterface.html