You are here

public function GlobalExecutionContextInterface::getVisitor in Zircon Profile 8

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

Returns the visitor instance used to validate the object graph nodes.

Return value

ValidationVisitorInterface The validation visitor.

2 methods override GlobalExecutionContextInterface::getVisitor()
StubGlobalExecutionContext::getVisitor in vendor/symfony/validator/Tests/Fixtures/StubGlobalExecutionContext.php
Returns the visitor instance used to validate the object graph nodes.
ValidationVisitor::getVisitor in vendor/symfony/validator/ValidationVisitor.php
Returns the visitor instance used to validate the object graph nodes.

File

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

Class

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

Namespace

Symfony\Component\Validator

Code

public function getVisitor();