You are here

public function ConstraintViolationInterface::getInvalidValue in Plug 7

Returns the value that caused the violation.

@api

Return value

mixed The invalid value that caused the validated constraint to fail.

1 method overrides ConstraintViolationInterface::getInvalidValue()
ConstraintViolation::getInvalidValue in lib/Symfony/validator/Symfony/Component/Validator/ConstraintViolation.php
Returns the value that caused the violation.

File

lib/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();