BlackholeMetadataFactory deprecated
class BlackholeMetadataFactory extends BlackHoleMetadataFactory
deprecated
Alias of {@link Factory\BlackHoleMetadataFactory}.
Methods
| MetadataInterface |  getMetadataFor(mixed $value)  Returns the metadata for the given value.  |  from BlackHoleMetadataFactory | 
| bool |  hasMetadataFor(mixed $value)  Returns whether the class is able to return metadata for the given value.  |  from BlackHoleMetadataFactory | 
Details
MetadataInterface getMetadataFor(mixed $value)
Returns the metadata for the given value.
Parameters
| mixed | $value | Some value | 
Return Value
| MetadataInterface | The metadata for the value | 
Exceptions
| NoSuchMetadataException | If no metadata exists for the given value | 
bool hasMetadataFor(mixed $value)
Returns whether the class is able to return metadata for the given value.
Parameters
| mixed | $value | Some value | 
Return Value
| bool | Whether metadata can be returned for that value | 
    © 2004–2017 Fabien Potencier
Licensed under the MIT License.
    http://api.symfony.com/3.4/Symfony/Component/Validator/Mapping/BlackholeMetadataFactory.html