You are here

public function ConstraintViolationBuilderInterface::setInvalidValue in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/validator/Violation/ConstraintViolationBuilderInterface.php \Symfony\Component\Validator\Violation\ConstraintViolationBuilderInterface::setInvalidValue()

Sets the invalid value that caused this violation.

Parameters

mixed $invalidValue The invalid value:

Return value

ConstraintViolationBuilderInterface This builder

3 methods override ConstraintViolationBuilderInterface::setInvalidValue()
ConstraintViolationBuilder::setInvalidValue in vendor/symfony/validator/Violation/ConstraintViolationBuilder.php
Sets the invalid value that caused this violation.
ConstraintViolationBuilder::setInvalidValue in core/lib/Drupal/Core/TypedData/Validation/ConstraintViolationBuilder.php
Sets the invalid value that caused this violation.
LegacyConstraintViolationBuilder::setInvalidValue in vendor/symfony/validator/Violation/LegacyConstraintViolationBuilder.php
Sets the invalid value that caused this violation.

File

vendor/symfony/validator/Violation/ConstraintViolationBuilderInterface.php, line 80

Class

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

Namespace

Symfony\Component\Validator\Violation

Code

public function setInvalidValue($invalidValue);