interface PropertyMetadataContainerInterface
deprecated
since version 2.5, to be removed in 3.0. Use {@link Mapping\ClassMetadataInterface} instead.
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).
Please login to continue.