ContextualValidatorInterface.php
4 years ago
LazyProperty.php
4 years ago
RecursiveContextualValidator.php
6 months ago
RecursiveValidator.php
4 years ago
TraceableValidator.php
4 years ago
ValidatorInterface.php
4 years ago
index.php
3 years ago
ContextualValidatorInterface.php
15 lines
| 1 | <?php |
| 2 | namespace MailPoetVendor\Symfony\Component\Validator\Validator; |
| 3 | if (!defined('ABSPATH')) exit; |
| 4 | use MailPoetVendor\Symfony\Component\Validator\Constraint; |
| 5 | use MailPoetVendor\Symfony\Component\Validator\Constraints\GroupSequence; |
| 6 | use MailPoetVendor\Symfony\Component\Validator\ConstraintViolationListInterface; |
| 7 | interface ContextualValidatorInterface |
| 8 | { |
| 9 | public function atPath(string $path); |
| 10 | public function validate($value, $constraints = null, $groups = null); |
| 11 | public function validateProperty(object $object, string $propertyName, $groups = null); |
| 12 | public function validatePropertyValue($objectOrClass, string $propertyName, $value, $groups = null); |
| 13 | public function getViolations(); |
| 14 | } |
| 15 |