classEnvironment
final class Environment
Public API: explicitly declared with
@visibility public.Validates and retains native application inputs at the configuration boundary.
(new \Deriver\Configuration\Environment(['APP_ENV' => 'test']))->values // => ['APP_ENV' => 'test']Properties§
public array<string, scalar|array<array-key, mixed>|null> $valuesMethods§
public function __construct(array<array-key, mixed> $input)Parameters
$input | array<array-key, mixed> | Untrusted settings supplied by YAML or PHP |
Throws
ConfigurationException If a name or nested value is not a native inputTest cases 3§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 2
Other tests reaching this symbol 1
ConfigurationTestcalls