You are here

public function LoaderInterface::loadClassMetadata in Zircon Profile 8

Same name in this branch
  1. 8 vendor/symfony/validator/Mapping/Loader/LoaderInterface.php \Symfony\Component\Validator\Mapping\Loader\LoaderInterface::loadClassMetadata()
  2. 8 vendor/symfony/serializer/Mapping/Loader/LoaderInterface.php \Symfony\Component\Serializer\Mapping\Loader\LoaderInterface::loadClassMetadata()
Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/Mapping/Loader/LoaderInterface.php \Symfony\Component\Validator\Mapping\Loader\LoaderInterface::loadClassMetadata()

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 vendor/symfony/validator/Mapping/Loader/AnnotationLoader.php
Loads validation metadata into a {@link ClassMetadata} instance.
LoaderChain::loadClassMetadata in vendor/symfony/validator/Mapping/Loader/LoaderChain.php
Loads validation metadata into a {@link ClassMetadata} instance.
StaticMethodLoader::loadClassMetadata in vendor/symfony/validator/Mapping/Loader/StaticMethodLoader.php
Loads validation metadata into a {@link ClassMetadata} instance.
TestLoader::loadClassMetadata in vendor/symfony/validator/Tests/Mapping/Factory/LazyLoadingMetadataFactoryTest.php
Loads validation metadata into a {@link ClassMetadata} instance.
XmlFileLoader::loadClassMetadata in vendor/symfony/validator/Mapping/Loader/XmlFileLoader.php
Loads validation metadata into a {@link ClassMetadata} instance.

... See full list

File

vendor/symfony/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);