public function remove($rowId)
    {
        $cartItem = $this->get($rowId);

        $content = $this->getContent();

        $content->pull($cartItem->rowId);

        $this->events->fire('cart.removed', $cartItem);

        $this->session->put($this->instance, $content);
    }
public function remove($rowId)
    {
        $cartItem = $this->get($rowId);

        $content = $this->getContent();

        $content->pull($cartItem->rowId);

        $this->events->fire('cart.removed', $cartItem);

        $this->session->put($this->instance, $content);
    }
public function remove ( $ rowId ) { $ cartItem = $ this -> get ( $ rowId ) ; $ content = $ this -> getContent ( ) ; $ content -> pull ( $ cartItem -> rowId ) ; $ this -> events -> fire ( 'cart.removed' , $ cartItem ) ; $ this -> session -> put ( $ this -> instance , $ content ) ; }
Remove the cart item with the given rowId from the cart.

@param string $rowId
@return void
Remove the cart item with the given rowId from the cart .