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
  • param string $name The name of the variable within the namespace
  • param Closure $getEnv A closure that allows fetching more env vars
  • throws RuntimeException on error
public abstract static getProvidedTypes() : array
 
  • return string[] The PHP-types managed by getEnv(), keyed by prefixes
Methods
public abstract static getProvidedTypes() : array
 
  • return string[] The PHP-types managed by getEnv(), keyed by prefixes
© 2022 Bruce Wells
Search Namespaces \ Classes
Configuration