You are here

public function ContextualValidatorInterface::getViolations in Zircon Profile 8

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

Returns the violations that have been generated so far in the context of the validator.

Return value

ConstraintViolationListInterface The constraint violations

2 methods override ContextualValidatorInterface::getViolations()
RecursiveContextualValidator::getViolations in vendor/symfony/validator/Validator/RecursiveContextualValidator.php
Returns the violations that have been generated so far in the context of the validator.
RecursiveContextualValidator::getViolations in core/lib/Drupal/Core/TypedData/Validation/RecursiveContextualValidator.php
Returns the violations that have been generated so far in the context of the validator.

File

vendor/symfony/validator/Validator/ContextualValidatorInterface.php, line 89

Class

ContextualValidatorInterface
A validator in a specific execution context.

Namespace

Symfony\Component\Validator\Validator

Code

public function getViolations();