getOption()
getOption(string $name, mixed $default = null) : mixed
Get an option value by name
If the option is empty or not set a NULL value will be returned.
Parameters
string |
$name |
|
mixed |
$default |
Default value if confiuration of $name is not present |
Returns
mixed