public function ValidationVisitor::getRoot in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/ValidationVisitor.php \Symfony\Component\Validator\ValidationVisitor::getRoot()
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
- vendor/
symfony/ validator/ ValidationVisitor.php, line 184
Class
- ValidationVisitor
- Default implementation of {@link ValidationVisitorInterface} and {@link GlobalExecutionContextInterface}.
Namespace
Symfony\Component\ValidatorCode
public function getRoot() {
return $this->root;
}