public function RecursiveContextualValidator::getViolations in Zircon Profile 8
Same name in this branch
- 8 vendor/symfony/validator/Validator/RecursiveContextualValidator.php \Symfony\Component\Validator\Validator\RecursiveContextualValidator::getViolations()
- 8 core/lib/Drupal/Core/TypedData/Validation/RecursiveContextualValidator.php \Drupal\Core\TypedData\Validation\RecursiveContextualValidator::getViolations()
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Validator/RecursiveContextualValidator.php \Symfony\Component\Validator\Validator\RecursiveContextualValidator::getViolations()
Returns the violations that have been generated so far in the context of the validator.
Return value
ConstraintViolationListInterface The constraint violations
Overrides ContextualValidatorInterface::getViolations
File
- vendor/
symfony/ validator/ Validator/ RecursiveContextualValidator.php, line 299
Class
- RecursiveContextualValidator
- Recursive implementation of {@link ContextualValidatorInterface}.
Namespace
Symfony\Component\Validator\ValidatorCode
public function getViolations() {
return $this->context
->getViolations();
}