SilverShop\Cart\ShoppingCart::clear
Empty / abandon the entire cart.
Signature
public function clear([boolean
$write = true] )
Parameters
$write
— boolean- whether or not to write the abandoned order
Returns
- bool
- - true if successful, false if no cart found