You are here

public function LoaderInterface::loadClassMetadata in Plug 7

Loads validation metadata into a {@link ClassMetadata} instance.

Parameters

ClassMetadata $metadata The metadata to load:

Return value

bool Whether the loader succeeded

6 methods override LoaderInterface::loadClassMetadata()
AnnotationLoader::loadClassMetadata in lib/Symfony/validator/Symfony/Component/Validator/Mapping/Loader/AnnotationLoader.php
Loads validation metadata into a {@link ClassMetadata} instance.
LoaderChain::loadClassMetadata in lib/Symfony/validator/Symfony/Component/Validator/Mapping/Loader/LoaderChain.php
Loads validation metadata into a {@link ClassMetadata} instance.
StaticMethodLoader::loadClassMetadata in lib/Symfony/validator/Symfony/Component/Validator/Mapping/Loader/StaticMethodLoader.php
Loads validation metadata into a {@link ClassMetadata} instance.
TestLoader::loadClassMetadata in lib/Symfony/validator/Symfony/Component/Validator/Tests/Mapping/Factory/LazyLoadingMetadataFactoryTest.php
Loads validation metadata into a {@link ClassMetadata} instance.
XmlFileLoader::loadClassMetadata in lib/Symfony/validator/Symfony/Component/Validator/Mapping/Loader/XmlFileLoader.php
Loads validation metadata into a {@link ClassMetadata} instance.

... See full list

File

lib/Symfony/validator/Symfony/Component/Validator/Mapping/Loader/LoaderInterface.php, line 30

Class

LoaderInterface
Loads validation metadata into {@link ClassMetadata} instances.

Namespace

Symfony\Component\Validator\Mapping\Loader

Code

public function loadClassMetadata(ClassMetadata $metadata);