Merges an existing violation list into this list.
@api
ConstraintViolationListInterface $otherList The list to merge.:
Overrides ConstraintViolationListInterface::addAll
public function addAll(ConstraintViolationListInterface $otherList) {
foreach ($otherList as $violation) {
$this->violations[] = $violation;
}
}