src/CartService.php
public function destroyCart($cartId)
    {
        $cart = $this->getCartById($cartId);

        $this->repository->destroy($cart);
    }
public function destroyCart($cartId)
    {
        $cart = $this->getCartById($cartId);

        $this->repository->destroy($cart);
    }
@param int $cartId

@throws CartNotFoundException