public function emptyCart()
    {
        unset($this->cart->items);

        $this->update();

        $this->events->dispatch('laracart.empty', $this->cart->instance);
    }
public function emptyCart()
    {
        unset($this->cart->items);

        $this->update();

        $this->events->dispatch('laracart.empty', $this->cart->instance);
    }
public function emptyCart ( ) { unset ( $ this -> cart -> items ) ; $ this -> update ( ) ; $ this -> events -> dispatch ( 'laracart.empty' , $ this -> cart -> instance ) ; }
Empties the carts items.
Empties the carts items .