mini\Mini::loadConfig()
Method
public
Signature
public function loadConfig(string $filename, mixed $default = NULL): mixed
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$filename |
string |
required | Documentation missing |
$default |
mixed |
NULL
|
Documentation missing |
Returns
mixed
Documentation
Load a configuration file using the path registry system.
Searches for the config file in registered paths with priority ordering:
- Application config (_config/ or MINI_CONFIG_ROOT)
- Framework config (vendor/fubber/mini/config/)
This allows applications to override framework defaults and supports plugin/bundle architectures where multiple packages can contribute config files.