original_string: private function newCart()
      {
          $this->clearCart();
          $this->setCart($this->repository->createNew(OrderTypes::TYPE_CART));
  
          return $this->cart;
      }
code: private function newCart()
      {
          $this->clearCart();
          $this->setCart($this->repository->createNew(OrderTypes::TYPE_CART));
  
          return $this->cart;
      }
code_tokens: private function newCart ( ) { $ this -> clearCart ( ) ; $ this -> setCart ( $ this -> repository -> createNew ( OrderTypes :: TYPE_CART ) ) ; return $ this -> cart ; }
docstring: Creates a new cart.
  
  @return \Ekyna\Component\Sale\Order\OrderInterface
docstring_tokens: Creates a new cart .