You are here

public function StubGlobalExecutionContext::getViolations in Zircon Profile 8

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

Returns the violations generated by the validator so far.

Return value

ConstraintViolationListInterface A list of constraint violations.

Overrides GlobalExecutionContextInterface::getViolations

File

vendor/symfony/validator/Tests/Fixtures/StubGlobalExecutionContext.php, line 38

Class

StubGlobalExecutionContext
@since 2.5.3

Namespace

Symfony\Component\Validator\Tests\Fixtures

Code

public function getViolations() {
  return $this->violations;
}