public function ExecutionContextInterface::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.

1 method overrides ExecutionContextInterface::getValue()
ExecutionContext::getValue in drupal/core/vendor/symfony/validator/Symfony/Component/Validator/ExecutionContext.php
Returns the value that the validator is currently validating.

File

drupal/core/vendor/symfony/validator/Symfony/Component/Validator/ExecutionContextInterface.php, line 216

Class

ExecutionContextInterface
Stores the validator's state during validation.

Namespace

Symfony\Component\Validator

Code

public function getValue();