You are here

interface PropertyMetadataInterface in Zircon Profile 8

Same name in this branch
  1. 8 vendor/symfony/validator/PropertyMetadataInterface.php \Symfony\Component\Validator\PropertyMetadataInterface
  2. 8 vendor/symfony/validator/Mapping/PropertyMetadataInterface.php \Symfony\Component\Validator\Mapping\PropertyMetadataInterface
Same name and namespace in other branches
  1. 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

Expanded class hierarchy of PropertyMetadataInterface

All classes that implement PropertyMetadataInterface

See also

MetadataInterface

CascadingStrategy

TraversalStrategy

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\Mapping
View source
interface PropertyMetadataInterface extends MetadataInterface, LegacyPropertyMetadataInterface, ClassBasedInterface {

}

Members

Namesort descending Modifiers Type Description Overrides
ClassBasedInterface::getClassName public function Returns the name of the backing PHP class. 2
MetadataInterface::accept Deprecated public function Implementation of the Visitor design pattern. 2
MetadataInterface::findConstraints public function Returns all constraints for a given validation group. 2
MetadataInterface::getCascadingStrategy public function Returns the strategy for cascading objects. 2
MetadataInterface::getConstraints public function Returns all constraints of this element. 2
MetadataInterface::getTraversalStrategy public function Returns the strategy for traversing traversable objects. 2
PropertyMetadataInterface::getPropertyName public function Returns the name of the property. 1
PropertyMetadataInterface::getPropertyValue public function Extracts the value of the property from the given container. 3