public function ConstraintViolationBuilderInterface::setParameters in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/validator/Violation/ConstraintViolationBuilderInterface.php \Symfony\Component\Validator\Violation\ConstraintViolationBuilderInterface::setParameters()
Sets all parameters to be inserted into the violation message.
Parameters
array $parameters An array with the parameter names as keys and: the values to be inserted in their place as values
Return value
ConstraintViolationBuilderInterface This builder
3 methods override ConstraintViolationBuilderInterface::setParameters()
- ConstraintViolationBuilder::setParameters in vendor/
symfony/ validator/ Violation/ ConstraintViolationBuilder.php - Sets all parameters to be inserted into the violation message.
- ConstraintViolationBuilder::setParameters in core/
lib/ Drupal/ Core/ TypedData/ Validation/ ConstraintViolationBuilder.php - Sets all parameters to be inserted into the violation message.
- LegacyConstraintViolationBuilder::setParameters in vendor/
symfony/ validator/ Violation/ LegacyConstraintViolationBuilder.php - Sets all parameters to be inserted into the violation message.
File
- vendor/
symfony/ validator/ Violation/ ConstraintViolationBuilderInterface.php, line 59
Class
- ConstraintViolationBuilderInterface
- Builds {@link \Symfony\Component\Validator\ConstraintViolationInterface} objects.
Namespace
Symfony\Component\Validator\ViolationCode
public function setParameters(array $parameters);