@@ -42,6 +42,11 @@ class OrderShopSolver | |||
]; | |||
} | |||
public function isEmpty(OrderShopInterface $orderShop): bool | |||
{ | |||
return $orderShop->getOrderProducts()->isEmpty(); | |||
} | |||
public function countQuantities(OrderShopInterface $orderShop): int | |||
{ | |||
return $this->countQuantitiesByOrderProducts($orderShop->getOrderProducts()); |