PropertyMetadataContainerInterface deprecated
PropertyMetadataContainerInterface deprecated
interface PropertyMetadataContainerInterface
deprecated
A container for {@link PropertyMetadataInterface} instances.
Methods
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. |
Details
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.
If your implementation does not support properties, simply throw an exception in this method (for example a BadMethodCallException).
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.1/Symfony/Component/Validator/PropertyMetadataContainerInterface.html