$group['groupId'
],
$group['packagerKey'
],
$group['value'
],
$group['sorterKey'
],
$group['rules'
] );
} ++
$index;
} throw new SetGroupNotFoundException($groupId);
} /**
* @param LineItemQuantity[] $groupItems
*/
private function splitQuantities(array
$groupItems): LineItemQuantityCollection
{ $items =
[];
foreach ($groupItems as $item) { $cloneItem =
new LineItemQuantity($item->
getLineItemId(), 1
);