public function CartInterface::emptyCart in Ubercart 8.4
Empties a cart of its contents.
1 method overrides CartInterface::emptyCart()
- Cart::emptyCart in uc_cart/
src/ Cart.php - Empties a cart of its contents.
File
- uc_cart/
src/ CartInterface.php, line 60
Class
- CartInterface
- Represents a shopping cart.
Namespace
Drupal\uc_cartCode
public function emptyCart();