Returns the value that caused the violation.
@api
Return value
mixed The invalid value that caused the validated constraint to
fail.
File
- drupal/core/vendor/symfony/validator/Symfony/Component/Validator/ConstraintViolationInterface.php, line 128
Class
- ConstraintViolationInterface
- A violation of a constraint that happened during validation.
Namespace
Symfony\Component\Validator
Code
public function getInvalidValue();