Adds constraint violations.
\Symfony\Component\Validator\ConstraintViolationListInterface $violations: The constraint violations.
public function addViolations(ConstraintViolationListInterface $violations) : void { $this->violations ->addAll($violations); }