public function PropertyMetadataContainerInterface::getPropertyMetadata in Plug 7
Returns all metadata instances for the given named property.
If your implementation does not support properties, simply throw an exception in this method (for example a <tt>BadMethodCallException</tt>).
Parameters
string $property The property name.:
Return value
PropertyMetadataInterface[] A list of metadata instances. Empty if no metadata exists for the property.
1 method overrides PropertyMetadataContainerInterface::getPropertyMetadata()
- ClassMetadata::getPropertyMetadata in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Mapping/ ClassMetadata.php - Returns all metadata instances for the given named property.
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ PropertyMetadataContainerInterface.php, line 44
Class
- PropertyMetadataContainerInterface
- A container for {@link PropertyMetadataInterface} instances.
Namespace
Symfony\Component\ValidatorCode
public function getPropertyMetadata($property);