]; | ]; | ||||
} | } | ||||
public function isEmpty(OrderShopInterface $orderShop): bool | |||||
{ | |||||
return $orderShop->getOrderProducts()->isEmpty(); | |||||
} | |||||
public function countQuantities(OrderShopInterface $orderShop): int | public function countQuantities(OrderShopInterface $orderShop): int | ||||
{ | { | ||||
return $this->countQuantitiesByOrderProducts($orderShop->getOrderProducts()); | return $this->countQuantitiesByOrderProducts($orderShop->getOrderProducts()); |