ExecutionContext.php
1 year ago
ExecutionContextFactory.php
1 year ago
ExecutionContextFactoryInterface.php
4 years ago
ExecutionContextInterface.php
1 year ago
index.php
3 years ago
ExecutionContextInterface.php
34 lines
| 1 | <?php |
| 2 | namespace MailPoetVendor\Symfony\Component\Validator\Context; |
| 3 | if (!defined('ABSPATH')) exit; |
| 4 | use MailPoetVendor\Symfony\Component\Validator\Constraint; |
| 5 | use MailPoetVendor\Symfony\Component\Validator\ConstraintViolationListInterface; |
| 6 | use MailPoetVendor\Symfony\Component\Validator\Mapping; |
| 7 | use MailPoetVendor\Symfony\Component\Validator\Mapping\MetadataInterface; |
| 8 | use MailPoetVendor\Symfony\Component\Validator\Validator\ValidatorInterface; |
| 9 | use MailPoetVendor\Symfony\Component\Validator\Violation\ConstraintViolationBuilderInterface; |
| 10 | interface ExecutionContextInterface |
| 11 | { |
| 12 | public function addViolation(string $message, array $params = []); |
| 13 | public function buildViolation(string $message, array $parameters = []); |
| 14 | public function getValidator(); |
| 15 | public function getObject(); |
| 16 | public function setNode($value, ?object $object, ?MetadataInterface $metadata, string $propertyPath); |
| 17 | public function setGroup(?string $group); |
| 18 | public function setConstraint(Constraint $constraint); |
| 19 | public function markGroupAsValidated(string $cacheKey, string $groupHash); |
| 20 | public function isGroupValidated(string $cacheKey, string $groupHash); |
| 21 | public function markConstraintAsValidated(string $cacheKey, string $constraintHash); |
| 22 | public function isConstraintValidated(string $cacheKey, string $constraintHash); |
| 23 | public function markObjectAsInitialized(string $cacheKey); |
| 24 | public function isObjectInitialized(string $cacheKey); |
| 25 | public function getViolations(); |
| 26 | public function getRoot(); |
| 27 | public function getValue(); |
| 28 | public function getMetadata(); |
| 29 | public function getGroup(); |
| 30 | public function getClassName(); |
| 31 | public function getPropertyName(); |
| 32 | public function getPropertyPath(string $subPath = ''); |
| 33 | } |
| 34 |