You are here

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

Overrides ConstraintViolationInterface::getInvalidValue

File

lib/Symfony/validator/Symfony/Component/Validator/ConstraintViolation.php, line 201

Class

ConstraintViolation
Default implementation of {@ConstraintViolationInterface}.

Namespace

Symfony\Component\Validator

Code

public function getInvalidValue() {
  return $this->invalidValue;
}