public function GlobalExecutionContextInterface::getRoot

Returns the value at which validation was started in the object graph.

Return value

mixed The root value.

See also

ExecutionContextInterface::getRoot

1 method overrides GlobalExecutionContextInterface::getRoot()
ValidationVisitor::getRoot in drupal/core/vendor/symfony/validator/Symfony/Component/Validator/ValidationVisitor.php
Returns the value at which validation was started in the object graph.

File

drupal/core/vendor/symfony/validator/Symfony/Component/Validator/GlobalExecutionContextInterface.php, line 46

Class

GlobalExecutionContextInterface
Stores the node-independent state of a validation run.

Namespace

Symfony\Component\Validator

Code

public function getRoot();