class ClassMetadataFactory in Plug 7
Alias of {@link LazyLoadingMetadataFactory}.
@author Bernhard Schussek <bschussek@gmail.com>
Hierarchy
- class \Symfony\Component\Validator\Mapping\Factory\LazyLoadingMetadataFactory implements MetadataFactoryInterface
- class \Symfony\Component\Validator\Mapping\ClassMetadataFactory
Expanded class hierarchy of ClassMetadataFactory
Deprecated
Deprecated since version 2.5, to be removed in Symfony 3.0. Use {@link LazyLoadingMetadataFactory} instead.
1 file declares its use of ClassMetadataFactory
- ValidatorBuilder.php in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ ValidatorBuilder.php
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Mapping/ ClassMetadataFactory.php, line 24
Namespace
Symfony\Component\Validator\MappingView source
class ClassMetadataFactory extends LazyLoadingMetadataFactory {
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
LazyLoadingMetadataFactory:: |
protected | property | The cache for caching class metadata | |
LazyLoadingMetadataFactory:: |
protected | property | The loaded metadata, indexed by class name | |
LazyLoadingMetadataFactory:: |
protected | property | The loader for loading the class metadata | |
LazyLoadingMetadataFactory:: |
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:: |
|
LazyLoadingMetadataFactory:: |
public | function |
Returns whether the class is able to return metadata for the given value. Overrides MetadataFactoryInterface:: |
|
LazyLoadingMetadataFactory:: |
public | function | Creates a new metadata factory. |