You are here

public function StubGlobalExecutionContext::getRoot in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/Tests/Fixtures/StubGlobalExecutionContext.php \Symfony\Component\Validator\Tests\Fixtures\StubGlobalExecutionContext::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/Tests/Fixtures/StubGlobalExecutionContext.php, line 48

Class

StubGlobalExecutionContext
@since 2.5.3

Namespace

Symfony\Component\Validator\Tests\Fixtures

Code

public function getRoot() {
  return $this->root;
}