original_string: 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);
      }
code: 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);
      }
code_tokens: 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 ) ; }
docstring: Remove the cart item with the given rowId from the cart.
  
  @param string $rowId
  @return void
docstring_tokens: Remove the cart item with the given rowId from the cart .