Configuration
Table of Contents
- get() : mixed
- Get the specified configuration value.
- has() : bool
- Determine if the given configuration value exists.
- set() : void
- Set a given configuration value.
Methods
get()
Get the specified configuration value.
public
get(string $key[, mixed $default = null ]) : mixed
Parameters
- $key : string
- $default : mixed = null
Tags
Return values
mixed —has()
Determine if the given configuration value exists.
public
has(string $key) : bool
Parameters
- $key : string
Tags
Return values
bool —set()
Set a given configuration value.
public
set(array<string|int, mixed>|string $key[, mixed $value = null ]) : void
Parameters
- $key : array<string|int, mixed>|string
- $value : mixed = null