interface PropertyMetadataInterface in Plug 7
Same name in this branch
- 7 lib/Symfony/validator/Symfony/Component/Validator/PropertyMetadataInterface.php \Symfony\Component\Validator\PropertyMetadataInterface
- 7 lib/Symfony/validator/Symfony/Component/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 lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Context/ ExecutionContext.php - RecursiveContextualValidator.php in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Validator/ RecursiveContextualValidator.php
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Mapping/ PropertyMetadataInterface.php, line 34
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. | 1 |
MetadataInterface:: |
public | function | Returns all constraints for a given validation group. | 1 |
MetadataInterface:: |
public | function | Returns the strategy for cascading objects. | 1 |
MetadataInterface:: |
public | function | Returns all constraints of this element. | 1 |
MetadataInterface:: |
public | function | Returns the strategy for traversing traversable objects. | 1 |
PropertyMetadataInterface:: |
public | function | Returns the name of the property. | 1 |
PropertyMetadataInterface:: |
public | function | Extracts the value of the property from the given container. | 3 |