Copied!

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

AbstractInterface
Methods
public abstract getEnv(string $prefix, string $name, Closure $getEnv) : ?mixed
 

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

  • param string $prefix The namespace of the variable; when the empty string is passed, null values should be kept as is
  • param string $name The name of the variable within the namespace
  • param callable $getEnv A closure that allows fetching more env vars
  • throws \RuntimeException on error
public abstract static getProvidedTypes() : array
 
  • return array<string,string> The PHP-types managed by getEnv(), keyed by prefixes
Methods
public abstract static getProvidedTypes() : array
 
  • return array<string,string> The PHP-types managed by getEnv(), keyed by prefixes
© 2025 Bruce Wells
Search Namespaces \ Classes
Configuration