Retrieves and validates a configuration object.
The configuration data is loaded from the implementation's source and validated against a pre-registered JSON Schema. The result is cached to avoid redundant processing.
The expected type of the configuration object.
The name of the schema registered in the validator.
The validated and typed configuration object.
StaticregisterRegisters the config as a singleton in the DI container.
The DI container to register in.
Env-based config implementation.
Provides loading configuration data from environment variables.
Depends:
Example