public function LegacyConstraintViolationBuilder::setInvalidValue in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Violation/LegacyConstraintViolationBuilder.php \Symfony\Component\Validator\Violation\LegacyConstraintViolationBuilder::setInvalidValue()
Sets the invalid value that caused this violation.
Parameters
mixed $invalidValue The invalid value:
Return value
ConstraintViolationBuilderInterface This builder
Overrides ConstraintViolationBuilderInterface::setInvalidValue
File
- vendor/
symfony/ validator/ Violation/ LegacyConstraintViolationBuilder.php, line 116
Class
- LegacyConstraintViolationBuilder
- Backwards-compatible implementation of {@link ConstraintViolationBuilderInterface}.
Namespace
Symfony\Component\Validator\ViolationCode
public function setInvalidValue($invalidValue) {
$this->invalidValue = $invalidValue;
return $this;
}