interface PropertyMetadataContainerInterface
deprecated
A container for {@link PropertyMetadataInterface} instances.
bool | hasPropertyMetadata(string $property) Check if there's any metadata attached to the given named property. | |
PropertyMetadataInterface[] | getPropertyMetadata(string $property) Returns all metadata instances for the given named property. |
Check if there's any metadata attached to the given named property.
string | $property | The property name. |
bool |
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 BadMethodCallException).
string | $property | The property name. |
PropertyMetadataInterface[] | A list of metadata instances. Empty if no metadata exists for the property. |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/Validator/PropertyMetadataContainerInterface.html