Symfony\Component\Validator\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>).
Signature
public function getPropertyMetadata(string
$property )
Parameters
$property
— string- The property name.
Returns
- array
- A list of metadata instances. Empty if
no metadata exists for the property.