cooper_config()
The loaded configuration, or the value at `$path` in it: the global shorthand for `Config::all()`/`Config::get()`. Not `config()`, which Laravel owns.
cooper_config([string|array<int, string|int>|null $path = null ][, mixed $default = null ]) : mixed
Parameters
- $path : string|array<int, string|int>|null = null
-
a dotted path or a list of segments; null for the whole configuration
- $default : mixed = null
-
what to return when
$pathleads nowhere
Tags
Return values
mixed —the value, or $default