class LoaderChain

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 <em>all</em> of these loaders, regardless of whether any of them was successful or not.

@author Bernhard Schussek <bschussek@gmail.com>

Hierarchy

Expanded class hierarchy of LoaderChain

2 files declare their use of LoaderChain

File

drupal/core/vendor/symfony/validator/Symfony/Component/Validator/Mapping/Loader/LoaderChain.php, line 27

Namespace

Symfony\Component\Validator\Mapping\Loader
View source

Members

Namesort descending Modifiers Type Description Overrides
LoaderChain::$loaders protected property
LoaderChain::loadClassMetadata public function Load a Class Metadata. Overrides LoaderInterface::loadClassMetadata
LoaderChain::__construct public function Accepts a list of LoaderInterface instances 1