You are here

public function GlobalExecutionContextInterface::getViolations in Zircon Profile 8

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

Returns the violations generated by the validator so far.

Return value

ConstraintViolationListInterface A list of constraint violations.

2 methods override GlobalExecutionContextInterface::getViolations()
StubGlobalExecutionContext::getViolations in vendor/symfony/validator/Tests/Fixtures/StubGlobalExecutionContext.php
Returns the violations generated by the validator so far.
ValidationVisitor::getViolations in vendor/symfony/validator/ValidationVisitor.php
Returns the violations generated by the validator so far.

File

vendor/symfony/validator/GlobalExecutionContextInterface.php, line 40

Class

GlobalExecutionContextInterface
Stores the node-independent state of a validation run.

Namespace

Symfony\Component\Validator

Code

public function getViolations();