function ClassMetadataInterface::getPropertyMetadata
Returns all metadata instances for the given named property.
If your implementation does not support properties, throw an exception in this method (for example a <tt>BadMethodCallException</tt>).
Parameters
string $property The property name:
Return value
1 method overrides ClassMetadataInterface::getPropertyMetadata()
- ClassMetadata::getPropertyMetadata in vendor/
symfony/ validator/ Mapping/ ClassMetadata.php - Returns all metadata instances for the given named property.
File
-
vendor/
symfony/ validator/ Mapping/ ClassMetadataInterface.php, line 86
Class
- ClassMetadataInterface
- Stores all metadata needed for validating objects of specific class.
Namespace
Symfony\Component\Validator\MappingCode
public function getPropertyMetadata(string $property) : array;