You are here

public function ConstraintViolation::getInvalidValue in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/ConstraintViolation.php \Symfony\Component\Validator\ConstraintViolation::getInvalidValue()

Returns the value that caused the violation.

Return value

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

Overrides ConstraintViolationInterface::getInvalidValue

File

vendor/symfony/validator/ConstraintViolation.php, line 211

Class

ConstraintViolation
Default implementation of {@ConstraintViolationInterface}.

Namespace

Symfony\Component\Validator

Code

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