You are here

public function ExecutionContextInterface::getViolations in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/ExecutionContextInterface.php \Symfony\Component\Validator\ExecutionContextInterface::getViolations()

Returns the violations generated by the validator so far.

Return value

ConstraintViolationListInterface The constraint violation list.

3 methods override ExecutionContextInterface::getViolations()
ExecutionContext::getViolations in vendor/symfony/validator/ExecutionContext.php
Returns the violations generated by the validator so far.
ExecutionContext::getViolations in vendor/symfony/validator/Context/ExecutionContext.php
Returns the violations generated by the validator so far.
ExecutionContext::getViolations in core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php
Returns the violations generated by the validator so far.

File

vendor/symfony/validator/ExecutionContextInterface.php, line 202

Class

ExecutionContextInterface
Stores the validator's state during validation.

Namespace

Symfony\Component\Validator

Code

public function getViolations();