public function PropertyMetadataContainerInterface::getPropertyMetadata

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.

2 methods override PropertyMetadataContainerInterface::getPropertyMetadata()

File

drupal/core/vendor/symfony/validator/Symfony/Component/Validator/PropertyMetadataContainerInterface.php, line 41

Class

PropertyMetadataContainerInterface
A container for {@link PropertyMetadataInterface} instances.

Namespace

Symfony\Component\Validator

Code

public function getPropertyMetadata($property);