public function GlobalExecutionContextInterface::getViolations

Returns the violations generated by the validator so far.

Return value

ConstraintViolationListInterface A list of constraint violations.

1 method overrides GlobalExecutionContextInterface::getViolations()
ValidationVisitor::getViolations in drupal/core/vendor/symfony/validator/Symfony/Component/Validator/ValidationVisitor.php
Returns the violations generated by the validator so far.

File

drupal/core/vendor/symfony/validator/Symfony/Component/Validator/GlobalExecutionContextInterface.php, line 37

Class

GlobalExecutionContextInterface
Stores the node-independent state of a validation run.

Namespace

Symfony\Component\Validator

Code

public function getViolations();