You are here

public function ConstraintViolationBuilderInterface::setInvalidValue in Plug 7

Sets the invalid value that caused this violation.

Parameters

mixed $invalidValue The invalid value:

Return value

ConstraintViolationBuilderInterface This builder

2 methods override ConstraintViolationBuilderInterface::setInvalidValue()
ConstraintViolationBuilder::setInvalidValue in lib/Symfony/validator/Symfony/Component/Validator/Violation/ConstraintViolationBuilder.php
Sets the invalid value that caused this violation.
LegacyConstraintViolationBuilder::setInvalidValue in lib/Symfony/validator/Symfony/Component/Validator/Violation/LegacyConstraintViolationBuilder.php
Sets the invalid value that caused this violation.

File

lib/Symfony/validator/Symfony/Component/Validator/Violation/ConstraintViolationBuilderInterface.php, line 79

Class

ConstraintViolationBuilderInterface
Builds {@link \Symfony\Component\Validator\ConstraintViolationInterface} objects.

Namespace

Symfony\Component\Validator\Violation

Code

public function setInvalidValue($invalidValue);