Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/validator/Constraints/AbstractComparisonValidator.php @ 18:af1871eacc83
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:33:08 +0100 |
parents | 129ea1e6d783 |
children |
comparison
equal
deleted
inserted
replaced
17:129ea1e6d783 | 18:af1871eacc83 |
---|---|
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 /** |