You are here

public function ValidationVisitor::getVisitor in Zircon Profile 8

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

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

Return value

ValidationVisitorInterface The validation visitor.

Overrides GlobalExecutionContextInterface::getVisitor

File

vendor/symfony/validator/ValidationVisitor.php, line 192

Class

ValidationVisitor
Default implementation of {@link ValidationVisitorInterface} and {@link GlobalExecutionContextInterface}.

Namespace

Symfony\Component\Validator

Code

public function getVisitor() {
  return $this;
}