Property | Type | Description | |
---|---|---|---|
$options | array | The default values for each key indicate the type of value it requires. |
Method | Description | |
---|---|---|
__construct ( array $options = [] ) | Constructor. | |
get ( string $key ) : mixed | Returns the value for the specified configuration options. | |
has ( string $key ) : boolean | Checks if a configuration option exists. | |
set ( string $key, mixed $value ) | Sets a configuration option. |
Method | Description | |
---|---|---|
validate ( string $key, mixed $value ) : boolean | Validates the new configuration option against its default value to ensure it's the correct type. |
protected array $options | ||
return | array |