ConfigFileLoader
final class ConfigFileLoader (View source)
Loads typed configuration definitions from PHP and YAML source files.
Constants
| private CONFIG_MAP_FILE |
|
Methods
load(string $file, string|null $rootKey = null)
Loads one typed configuration definition from a source file.
loadWithMetadata(string $file, string|null $rootKey = null)
Loads one definition together with the environment and source metadata it consumed.
Details
load
ConfigDefinitionInterface
load(string $file, string|null $rootKey = null)
Loads one typed configuration definition from a source file.
loadWithMetadata
LoadedConfigFile
loadWithMetadata(string $file, string|null $rootKey = null)
Loads one definition together with the environment and source metadata it consumed.