public function GlobalExecutionContextInterface::getRoot in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/GlobalExecutionContextInterface.php \Symfony\Component\Validator\GlobalExecutionContextInterface::getRoot()
Returns the value at which validation was started in the object graph.
Return value
mixed The root value.
See also
ExecutionContextInterface::getRoot()
2 methods override GlobalExecutionContextInterface::getRoot()
- StubGlobalExecutionContext::getRoot in vendor/
symfony/ validator/ Tests/ Fixtures/ StubGlobalExecutionContext.php - Returns the value at which validation was started in the object graph.
- ValidationVisitor::getRoot in vendor/
symfony/ validator/ ValidationVisitor.php - Returns the value at which validation was started in the object graph.
File
- vendor/
symfony/ validator/ GlobalExecutionContextInterface.php, line 49
Class
- GlobalExecutionContextInterface
- Stores the node-independent state of a validation run.
Namespace
Symfony\Component\ValidatorCode
public function getRoot();