Returns the entire configuration in use or the value of a specific
configuration setting.
public getConfig ( string $index = null, mixed $default = null ) : mixed | ||
$index | string | Optional index of a specific configuration setting for which the corresponding value should be returned |
$default | mixed | Value to return if no match is found for $index |
return | mixed | Value corresponding to $index or the entire configuration if $index is not specified |