public function ExecutionContextInterface::getValue in Plug 7
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.
2 methods override ExecutionContextInterface::getValue()
- ExecutionContext::getValue in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ ExecutionContext.php - Returns the value that the validator is currently validating.
- ExecutionContext::getValue in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Context/ ExecutionContext.php - Returns the value that the validator is currently validating.
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ ExecutionContextInterface.php, line 233
Class
- ExecutionContextInterface
- Stores the validator's state during validation.
Namespace
Symfony\Component\ValidatorCode
public function getValue();