Symfony\Component\Validator\MetadataFactoryInterface::getMetadataFor
Returns the metadata for the given value.
Signature
public function getMetadataFor(mixed
$value )
Parameters
$value
— mixed- Some value.
Returns
- MetadataInterface
- The metadata for the value.
Errors/Exceptions
-
NoSuchMetadataException
- If no metadata exists for the value.