ConfigLoaderInterface
Loads application configuration from an arbitrary source. Implementations are agnostic to the origin of the configuration — a file path, an environment variable key, a remote URI, etc. — and resolve it on demand via `load()` instead of being coupled to it at construction time.
ConfigLoaderInterface::load()
abstract public function load(string $source): arrayLoads and returns the configuration from the given source (a file path, env key, remote URI, or any other source identifier the implementation understands).
Parameters
| Nombre | Tipo | Descripción |
|---|---|---|
| $source | string |