public function ValidationVisitor::getRoot in Plug 7
Returns the value at which validation was started in the object graph.
Return value
mixed The root value.
Overrides GlobalExecutionContextInterface::getRoot
See also
ExecutionContextInterface::getRoot()
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ ValidationVisitor.php, line 182
Class
- ValidationVisitor
- Default implementation of {@link ValidationVisitorInterface} and {@link GlobalExecutionContextInterface}.
Namespace
Symfony\Component\ValidatorCode
public function getRoot() {
return $this->root;
}