public function StubGlobalExecutionContext::getViolations in Plug 7
Returns the violations generated by the validator so far.
Return value
ConstraintViolationListInterface A list of constraint violations.
Overrides GlobalExecutionContextInterface::getViolations
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ Fixtures/ StubGlobalExecutionContext.php, line 40
Class
- StubGlobalExecutionContext
- @since 2.5.3
Namespace
Symfony\Component\Validator\Tests\FixturesCode
public function getViolations() {
return $this->violations;
}