Mapping\Factory\MetadataFactoryInterface (Component\Validator)
Symfony\Component\Validator\Mapping\Factory\MetadataFactoryInterface
interface MetadataFactoryInterface
Returns {@link \Symfony\Component\Validator\Mapping\MetadataInterface} instances for values.
Methods
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. |
Details
public MetadataInterface getMetadataFor(mixed $value)
Returns the metadata for the given value.
public 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.0/Symfony/Component/Validator/Mapping/Factory/MetadataFactoryInterface.html