public function ExecutionContext::getValue

Returns the value that the validator is currently validating.

If you want to retrieve the object that was originally passed to the validator, use {@link getRoot}.

Return value

mixed The currently validated value.

Overrides ExecutionContextInterface::getValue

File

drupal/core/vendor/symfony/validator/Symfony/Component/Validator/ExecutionContext.php, line 190

Class

ExecutionContext
Default implementation of {@link ExecutionContextInterface}.

Namespace

Symfony\Component\Validator

Code

public function getValue() {
  return $this->value;
}