CompositeLoader
class CompositeLoader implements LoaderInterface (View source)
A loader that delegates method calls to multiple other loaders
Properties
protected | $app | ||
protected | $loaders | ||
protected | $processed |
Methods
No description
Load the given configuration group.
Determine if the given configuration group exists.
Add a new namespace to the loader.
Returns all registered namespaces with the config loader.
Apply any cascades to an array of package options.
Get the loaders associated with this class, populate instances using the application as needed
Details
__construct(Application $app, array $loaders)
No description
clearNamespace($namespace)
No description
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.
private array|LoaderInterface[]
getLoaders()
Get the loaders associated with this class, populate instances using the application as needed