comparison vendor/symfony/validator/Constraints/AbstractComparisonValidator.php @ 5:12f9dff5fda9 tip

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:34:47 +0100
parents a9cd425dd02b
children
comparison
equal deleted inserted replaced
4:a9cd425dd02b 5:12f9dff5fda9
11 11
12 namespace Symfony\Component\Validator\Constraints; 12 namespace Symfony\Component\Validator\Constraints;
13 13
14 use Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException; 14 use Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException;
15 use Symfony\Component\PropertyAccess\PropertyAccess; 15 use Symfony\Component\PropertyAccess\PropertyAccess;
16 use Symfony\Component\PropertyAccess\PropertyAccessor; 16 use Symfony\Component\PropertyAccess\PropertyAccessorInterface;
17 use Symfony\Component\Validator\Constraint; 17 use Symfony\Component\Validator\Constraint;
18 use Symfony\Component\Validator\ConstraintValidator; 18 use Symfony\Component\Validator\ConstraintValidator;
19 use Symfony\Component\Validator\Exception\ConstraintDefinitionException; 19 use Symfony\Component\Validator\Exception\ConstraintDefinitionException;
20 use Symfony\Component\Validator\Exception\UnexpectedTypeException; 20 use Symfony\Component\Validator\Exception\UnexpectedTypeException;
21 21
27 */ 27 */
28 abstract class AbstractComparisonValidator extends ConstraintValidator 28 abstract class AbstractComparisonValidator extends ConstraintValidator
29 { 29 {
30 private $propertyAccessor; 30 private $propertyAccessor;
31 31
32 public function __construct(PropertyAccessor $propertyAccessor = null) 32 public function __construct(PropertyAccessorInterface $propertyAccessor = null)
33 { 33 {
34 $this->propertyAccessor = $propertyAccessor; 34 $this->propertyAccessor = $propertyAccessor;
35 } 35 }
36 36
37 /** 37 /**