- Pods
- IoC Config 1.0.16
- API
- ConfigSource

const mixinafIocConfig::ConfigSource
afIocConfig::ConfigSource
(Service) - Provides the config values.
config
Source
abstract Str:Obj? config()
Returns a case-insensitive map of all the config values
get
Source
@
Operator
abstract Obj? get(Str id, Type? coerceTo := null, Bool checked := true)
Return the config value with the given id, optionally coercing it to the given type.
Throws ArgErr
if the ID could not be found.