Methods |
public
|
__construct(array<string, mixed[]> $items = [])
|
#
|
public
|
loadDirectory(string $directory): $this
Load values from files in a directory
Load values from files in a directory
|
#
|
public
|
has(string $key): bool
Check if a configuration value exists
Check if a configuration value exists
|
#
|
public
|
get(string $key, mixed $default = null): mixed
Get a configuration value
Get a configuration value
Throws
|
#
|
public
|
getMany(array<string|int, mixed|string> $keys): array<string, mixed>
Get multiple configuration values
Get multiple configuration values
Parameters
$keys |
An array that optionally maps
keys to default values.
|
Throws
|
#
|
public
|
all(): array<string, mixed[]>
Get all configuration values
Get all configuration values
|
#
|