public function MetadataFactoryInterface::hasMetadataFor in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/MetadataFactoryInterface.php \Symfony\Component\Validator\MetadataFactoryInterface::hasMetadataFor()
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
5 methods override MetadataFactoryInterface::hasMetadataFor()
- BlackHoleMetadataFactory::hasMetadataFor in vendor/
symfony/ validator/ Mapping/ Factory/ BlackHoleMetadataFactory.php - Returns whether the class is able to return metadata for the given value.
- FakeMetadataFactory::hasMetadataFor in vendor/
symfony/ validator/ Tests/ Fixtures/ FakeMetadataFactory.php - Returns whether the class is able to return metadata for the given value.
- LazyLoadingMetadataFactory::hasMetadataFor in vendor/
symfony/ validator/ Mapping/ Factory/ LazyLoadingMetadataFactory.php - Returns whether the class is able to return metadata for the given value.
- RecursiveValidator::hasMetadataFor in vendor/
symfony/ validator/ Validator/ RecursiveValidator.php - Returns whether the class is able to return metadata for the given value.
- RecursiveValidator::hasMetadataFor in core/
lib/ Drupal/ Core/ TypedData/ Validation/ RecursiveValidator.php - Returns whether the class is able to return metadata for the given value.
File
- vendor/
symfony/ validator/ MetadataFactoryInterface.php, line 42
Class
- MetadataFactoryInterface
- Returns {@link MetadataInterface} instances for values.
Namespace
Symfony\Component\ValidatorCode
public function hasMetadataFor($value);