interface PropertyMetadataInterface in Zircon Profile 8
Same name in this branch
- 8 vendor/symfony/validator/PropertyMetadataInterface.php \Symfony\Component\Validator\PropertyMetadataInterface
- 8 vendor/symfony/validator/Mapping/PropertyMetadataInterface.php \Symfony\Component\Validator\Mapping\PropertyMetadataInterface
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Mapping/PropertyMetadataInterface.php \Symfony\Component\Validator\Mapping\PropertyMetadataInterface
Stores all metadata needed for validating the value of a class property.
Most importantly, the metadata stores the constraints against which the property's value should be validated.
Additionally, the metadata stores whether objects stored in the property should be validated against their class' metadata and whether traversable objects should be traversed or not.
@since 2.5
@author Bernhard Schussek <bschussek@gmail.com>
Hierarchy
- interface \Symfony\Component\Validator\Mapping\MetadataInterface; interface \Symfony\Component\Validator\PropertyMetadataInterface; interface \Symfony\Component\Validator\ClassBasedInterface
- interface \Symfony\Component\Validator\Mapping\PropertyMetadataInterface
Expanded class hierarchy of PropertyMetadataInterface
All classes that implement PropertyMetadataInterface
See also
2 files declare their use of PropertyMetadataInterface
- ExecutionContext.php in vendor/
symfony/ validator/ Context/ ExecutionContext.php - RecursiveContextualValidator.php in vendor/
symfony/ validator/ Validator/ RecursiveContextualValidator.php
File
- vendor/
symfony/ validator/ Mapping/ PropertyMetadataInterface.php, line 35
Namespace
Symfony\Component\Validator\MappingView source
interface PropertyMetadataInterface extends MetadataInterface, LegacyPropertyMetadataInterface, ClassBasedInterface {
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ClassBasedInterface:: |
public | function | Returns the name of the backing PHP class. | 2 |
MetadataInterface:: |
public | function | Implementation of the Visitor design pattern. | 2 |
MetadataInterface:: |
public | function | Returns all constraints for a given validation group. | 2 |
MetadataInterface:: |
public | function | Returns the strategy for cascading objects. | 2 |
MetadataInterface:: |
public | function | Returns all constraints of this element. | 2 |
MetadataInterface:: |
public | function | Returns the strategy for traversing traversable objects. | 2 |
PropertyMetadataInterface:: |
public | function | Returns the name of the property. | 1 |
PropertyMetadataInterface:: |
public | function | Extracts the value of the property from the given container. | 3 |