public function GlobalExecutionContextInterface::getVisitor in Plug 7
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 lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ Fixtures/ StubGlobalExecutionContext.php - Returns the visitor instance used to validate the object graph nodes.
- ValidationVisitor::getVisitor in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ ValidationVisitor.php - Returns the visitor instance used to validate the object graph nodes.
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ GlobalExecutionContextInterface.php, line 56
Class
- GlobalExecutionContextInterface
- Stores the node-independent state of a validation run.
Namespace
Symfony\Component\ValidatorCode
public function getVisitor();