You are here

class ClassMetadataFactory in Zircon Profile 8

Same name in this branch
  1. 8 vendor/symfony/validator/Mapping/ClassMetadataFactory.php \Symfony\Component\Validator\Mapping\ClassMetadataFactory
  2. 8 vendor/symfony/serializer/Mapping/Factory/ClassMetadataFactory.php \Symfony\Component\Serializer\Mapping\Factory\ClassMetadataFactory
Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/Mapping/ClassMetadataFactory.php \Symfony\Component\Validator\Mapping\ClassMetadataFactory

Alias of {@link LazyLoadingMetadataFactory}.

@author Bernhard Schussek <bschussek@gmail.com>

Hierarchy

Expanded class hierarchy of ClassMetadataFactory

Deprecated

since version 2.5, to be removed in 3.0. Use {@link LazyLoadingMetadataFactory} instead.

File

vendor/symfony/validator/Mapping/ClassMetadataFactory.php, line 26

Namespace

Symfony\Component\Validator\Mapping
View source
class ClassMetadataFactory extends LazyLoadingMetadataFactory {

}

Members

Namesort descending Modifiers Type Description Overrides
LazyLoadingMetadataFactory::$cache protected property The cache for caching class metadata.
LazyLoadingMetadataFactory::$loadedClasses protected property The loaded metadata, indexed by class name.
LazyLoadingMetadataFactory::$loader protected property The loader for loading the class metadata.
LazyLoadingMetadataFactory::getMetadataFor public function If the method was called with the same class name (or an object of that class) before, the same metadata instance is returned. Overrides MetadataFactoryInterface::getMetadataFor
LazyLoadingMetadataFactory::hasMetadataFor public function Returns whether the class is able to return metadata for the given value. Overrides MetadataFactoryInterface::hasMetadataFor
LazyLoadingMetadataFactory::__construct public function Creates a new metadata factory.