LoaderChain
class LoaderChain implements LoaderInterface
Loads validation metadata from multiple {@link LoaderInterface} instances.
Pass the loaders when constructing the chain. Once {@link loadClassMetadata()} is called, that method will be called on all loaders in the chain.
Properties
protected | $loaders |
Methods
__construct(array $loaders)
No description
bool
loadClassMetadata(ClassMetadata $metadata)
Loads validation metadata into a {@link ClassMetadata} instance.
getLoaders()
No description
Details
bool
loadClassMetadata(ClassMetadata $metadata)
Loads validation metadata into a {@link ClassMetadata} instance.