ChainLoader implements LoaderInterface
FinalYes
Composes multiple loaders into a single one. Child loaders run in the order they were given; for conflicting keys, the loader that runs later wins (last-write-wins).
Tags
Table of Contents
Interfaces
Properties
- $loaders : array<string|int, mixed>
Methods
- __construct() : mixed
- load() : void
Properties
$loaders read-only
private
array<string|int, mixed>
$loaders
Methods
__construct()
public
__construct(array<string|int, LoaderInterface> $loaders) : mixed
Parameters
- $loaders : array<string|int, LoaderInterface>
load()
public
load(RegistryInterface $registry) : void
Parameters
- $registry : RegistryInterface