You are here

public function GlobalExecutionContextInterface::getRoot in Zircon Profile 8

Same name and namespace in other branches
  1. 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\Validator

Code

public function getRoot();