You are here

public function ValidationVisitor::getVisitor in Plug 7

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

Return value

ValidationVisitorInterface The validation visitor.

Overrides GlobalExecutionContextInterface::getVisitor

File

lib/Symfony/validator/Symfony/Component/Validator/ValidationVisitor.php, line 190

Class

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

Namespace

Symfony\Component\Validator

Code

public function getVisitor() {
  return $this;
}