ConfigLoader
final class ConfigLoader (View source)
Loads application configuration for HTTP and CLI entrypoints.
Constants
| ENTRYPOINT_HTTP |
|
| ENTRYPOINT_CLI |
|
| private CONFIG_MANIFEST_CANDIDATES |
|
| private CONFIG_MANIFEST_SECTIONS |
|
Methods
Loads all configuration definitions required by one application entrypoint.
void
resolveConfigFileSpecs(ApplicationContext $context, string $entrypoint)
Returns the explicitly declared config files for one entrypoint.
array
Details
loadApplication
void
loadApplication(Framework $framework, ApplicationContext $context, string $entrypoint)
Loads all configuration definitions required by one application entrypoint.
resolveConfigFileSpecs
array
resolveConfigFileSpecs(ApplicationContext $context, string $entrypoint)
Returns the explicitly declared config files for one entrypoint.
A missing or empty manifest declares no application config files. Present manifests reject unknown keys and invalid section or file-name values.