- class
Configuration
(php\util\Configuration
) - package
std
- source
php/util/Configuration.php
Description
Class Configuration
->
__construct()
->
has()
->
get()
->
getArray()
->
getBoolean()
->
getNumber()
->
getInteger()
->
set()
->
put()
->
clear()
- Remove all values.->
load()
->
save()
->
toArray()
__construct(string|Stream $source, string $encoding): void
has(string $key): bool
get(string $key, null|string $def): string
getArray(string $key, array $def): string[]
getBoolean(string $key, bool $def): bool
getNumber(string $key, int|float $def): int|float
getInteger(string $key, int $def): int
set(string $key, string|array $value): string
put(array|Traversable $values): void
clear(): void
Remove all values.
load(string|Stream $in, string $encoding): void
save(string|Stream $out, string $encoding): void
toArray(): array