LoaderInterface
interface LoaderInterface (View source)
Methods
array
load(
string $environment,
string $group,
string $namespace = null)
Load the given configuration group.
bool
exists(
string $group,
string $namespace = null)
Determine if the given configuration group exists.
void
addNamespace(
string $namespace,
string $hint)
Add a new namespace to the loader.
array
getNamespaces()
Returns all registered namespaces with the config loader.
array
cascadePackage(
string $environment,
string $package,
string $group,
array $items)
Apply any cascades to an array of package options.
Details
at line line 13
array
load(
string $environment,
string $group,
string $namespace = null)
Load the given configuration group.
at line line 22
bool
exists(
string $group,
string $namespace = null)
Determine if the given configuration group exists.
at line line 31
void
addNamespace(
string $namespace,
string $hint)
Add a new namespace to the loader.
at line line 50
array
cascadePackage(
string $environment,
string $package,
string $group,
array $items)
Apply any cascades to an array of package options.