You are here

public function StubGlobalExecutionContext::getRoot in Plug 7

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

lib/Symfony/validator/Symfony/Component/Validator/Tests/Fixtures/StubGlobalExecutionContext.php, line 50

Class

StubGlobalExecutionContext
@since 2.5.3

Namespace

Symfony\Component\Validator\Tests\Fixtures

Code

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