class LoaderChain implements LoaderInterface
Calls multiple LoaderInterface instances in a chain
This class accepts multiple instances of LoaderInterface to be passed to the constructor. When loadClassMetadata() is called, the same method is called in all of these loaders, regardless of whether any of them was successful or not.
__construct(array $loaders) Accepts a list of LoaderInterface instances | ||
bool | loadClassMetadata(ClassMetadata $metadata) Load a Class Metadata. |
Accepts a list of LoaderInterface instances
Load a Class Metadata.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.7/Symfony/Component/Validator/Mapping/Loader/LoaderChain.html