You are here

public function CartManagerInterface::emptyCart in Ubercart 8.4

Empties a cart.

Parameters

int $id: The ID of the cart to empty.

1 method overrides CartManagerInterface::emptyCart()
CartManager::emptyCart in uc_cart/src/CartManager.php
Empties a cart.

File

uc_cart/src/CartManagerInterface.php, line 29

Class

CartManagerInterface
Defines a common interface for cart managers.

Namespace

Drupal\uc_cart

Code

public function emptyCart($id);