Symfony\Component\Validator\ConstraintViolationListInterface::set
Sets a violation at a given offset.
Signature
public function set(integer
$offset,
ConstraintViolationInterface
$violation )
Parameters
$offset
— integer- The violation offset.
$violation
— Symfony\Component\Validator\ConstraintViolationInterface- The violation.