'total' =>
[],
];
} // also increase our count of found items
$this->
addGroupCount($key);
// add new group
$this->
addGroupEntry($key,
$group);
// add to total aggregation
$this->
addGroupAggregationTotal($key,
$group);
} /**
* Gets a list of all found line item quantity entries
* for the provided group definition.
*
* @return LineItemQuantity[]
*/
public function getGroupTotalResult(LineItemGroupDefinition
$groupDefinition): array
{ $key =
$groupDefinition->
getId();