You are here

public function ConstraintViolationInterface::getInvalidValue in Zircon Profile 8

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

Returns the value that caused the violation.

Return value

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

1 method overrides ConstraintViolationInterface::getInvalidValue()
ConstraintViolation::getInvalidValue in vendor/symfony/validator/ConstraintViolation.php
Returns the value that caused the violation.

File

vendor/symfony/validator/ConstraintViolationInterface.php, line 118

Class

ConstraintViolationInterface
A violation of a constraint that happened during validation.

Namespace

Symfony\Component\Validator

Code

public function getInvalidValue();