You are here

public function ConstraintViolationBuilderInterface::setParameters in Plug 7

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

2 methods override ConstraintViolationBuilderInterface::setParameters()
ConstraintViolationBuilder::setParameters in lib/Symfony/validator/Symfony/Component/Validator/Violation/ConstraintViolationBuilder.php
Sets all parameters to be inserted into the violation message.
LegacyConstraintViolationBuilder::setParameters in lib/Symfony/validator/Symfony/Component/Validator/Violation/LegacyConstraintViolationBuilder.php
Sets all parameters to be inserted into the violation message.

File

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

Class

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

Namespace

Symfony\Component\Validator\Violation

Code

public function setParameters(array $parameters);