public function MetadataFactoryInterface::getMetadataFor in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/MetadataFactoryInterface.php \Symfony\Component\Validator\MetadataFactoryInterface::getMetadataFor()
Returns the metadata for the given value.
Parameters
mixed $value Some value:
Return value
MetadataInterface The metadata for the value
Throws
Exception\NoSuchMetadataException If no metadata exists for the given value
5 methods override MetadataFactoryInterface::getMetadataFor()
- BlackHoleMetadataFactory::getMetadataFor in vendor/
symfony/ validator/ Mapping/ Factory/ BlackHoleMetadataFactory.php - Returns the metadata for the given value.
- FakeMetadataFactory::getMetadataFor in vendor/
symfony/ validator/ Tests/ Fixtures/ FakeMetadataFactory.php - Returns the metadata for the given value.
- LazyLoadingMetadataFactory::getMetadataFor in vendor/
symfony/ validator/ Mapping/ Factory/ LazyLoadingMetadataFactory.php - If the method was called with the same class name (or an object of that class) before, the same metadata instance is returned.
- RecursiveValidator::getMetadataFor in vendor/
symfony/ validator/ Validator/ RecursiveValidator.php - Returns the metadata for the given value.
- RecursiveValidator::getMetadataFor in core/
lib/ Drupal/ Core/ TypedData/ Validation/ RecursiveValidator.php
File
- vendor/
symfony/ validator/ MetadataFactoryInterface.php, line 33
Class
- MetadataFactoryInterface
- Returns {@link MetadataInterface} instances for values.
Namespace
Symfony\Component\ValidatorCode
public function getMetadataFor($value);