Documentation / zerotal / index / Config
Variable: Config
constConfig:ConfigManager
Defined in: packages/core/src/facade/facades/Config.ts:21
Facade over the config binding for reading configuration values.
Resolves the live config instance from the container on each access, so it
is only usable after Application.boot() has run.
Example
import { Config } from "@zerotal/core/facades";
Config.get("app.name"); // read with the app's config value type
Config.require("app.key"); // throws ConfigError when unset