ClassMetadataFactory deprecated
ClassMetadataFactory deprecated
class ClassMetadataFactory extends LazyLoadingMetadataFactory
deprecated
Alias of {@link LazyLoadingMetadataFactory}.
Methods
__construct(LoaderInterface $loader = null, CacheInterface $cache = null) Creates a new metadata factory. | from LazyLoadingMetadataFactory | |
MetadataInterface | getMetadataFor(mixed $value) Returns the metadata for the given value. | from LazyLoadingMetadataFactory |
bool | hasMetadataFor(mixed $value) Returns whether the class is able to return metadata for the given value. | from LazyLoadingMetadataFactory |
Details
__construct(LoaderInterface $loader = null, CacheInterface $cache = null)
Creates a new metadata factory.
MetadataInterface getMetadataFor(mixed $value)
Returns the metadata for the given value.
bool hasMetadataFor(mixed $value)
Returns whether the class is able to return metadata for the given value.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.1/Symfony/Component/Validator/Mapping/ClassMetadataFactory.html