public function RecursiveContextualValidator::getViolations in Plug 7
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
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Validator/ RecursiveContextualValidator.php, line 289
Class
- RecursiveContextualValidator
- Recursive implementation of {@link ContextualValidatorInterface}.
Namespace
Symfony\Component\Validator\ValidatorCode
public function getViolations() {
return $this->context
->getViolations();
}