You are here

public function ExecutionContextInterface::getViolations in Plug 7

Returns the violations generated by the validator so far.

@api

Return value

ConstraintViolationListInterface The constraint violation list.

2 methods override ExecutionContextInterface::getViolations()
ExecutionContext::getViolations in lib/Symfony/validator/Symfony/Component/Validator/ExecutionContext.php
Returns the violations generated by the validator so far.
ExecutionContext::getViolations in lib/Symfony/validator/Symfony/Component/Validator/Context/ExecutionContext.php
Returns the violations generated by the validator so far.

File

lib/Symfony/validator/Symfony/Component/Validator/ExecutionContextInterface.php, line 210

Class

ExecutionContextInterface
Stores the validator's state during validation.

Namespace

Symfony\Component\Validator

Code

public function getViolations();