You are here

public function ExecutionContextInterface::getValue in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/validator/ExecutionContextInterface.php \Symfony\Component\Validator\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.

3 methods override ExecutionContextInterface::getValue()
ExecutionContext::getValue in vendor/symfony/validator/ExecutionContext.php
Returns the value that the validator is currently validating.
ExecutionContext::getValue in vendor/symfony/validator/Context/ExecutionContext.php
Returns the value that the validator is currently validating.
ExecutionContext::getValue in core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php
Returns the value that the validator is currently validating.

File

vendor/symfony/validator/ExecutionContextInterface.php, line 225

Class

ExecutionContextInterface
Stores the validator's state during validation.

Namespace

Symfony\Component\Validator

Code

public function getValue();