X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=vendor%2Fsymfony%2Fvalidator%2FMapping%2FPropertyMetadataInterface.php;h=059b142eda3b2bbb2fec98e5233d9a4cde52f06d;hb=9e65bae52407293a5182f19dc57b5628b09e92f4;hp=d7a4114d44f149735d2cf2b068eaf85b38262f87;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/vendor/symfony/validator/Mapping/PropertyMetadataInterface.php b/vendor/symfony/validator/Mapping/PropertyMetadataInterface.php index d7a4114d4..059b142ed 100644 --- a/vendor/symfony/validator/Mapping/PropertyMetadataInterface.php +++ b/vendor/symfony/validator/Mapping/PropertyMetadataInterface.php @@ -11,9 +11,6 @@ namespace Symfony\Component\Validator\Mapping; -use Symfony\Component\Validator\ClassBasedInterface; -use Symfony\Component\Validator\PropertyMetadataInterface as LegacyPropertyMetadataInterface; - /** * Stores all metadata needed for validating the value of a class property. * @@ -30,6 +27,21 @@ use Symfony\Component\Validator\PropertyMetadataInterface as LegacyPropertyMetad * @see CascadingStrategy * @see TraversalStrategy */ -interface PropertyMetadataInterface extends MetadataInterface, LegacyPropertyMetadataInterface, ClassBasedInterface +interface PropertyMetadataInterface extends MetadataInterface { + /** + * Returns the name of the property. + * + * @return string The property name + */ + public function getPropertyName(); + + /** + * Extracts the value of the property from the given container. + * + * @param mixed $containingValue The container to extract the property value from + * + * @return mixed The value of the property + */ + public function getPropertyValue($containingValue); }