private function newCart()
    {
        $this->clearCart();
        $this->setCart($this->repository->createNew(OrderTypes::TYPE_CART));

        return $this->cart;
    }
private function newCart()
    {
        $this->clearCart();
        $this->setCart($this->repository->createNew(OrderTypes::TYPE_CART));

        return $this->cart;
    }
private function newCart ( ) { $ this -> clearCart ( ) ; $ this -> setCart ( $ this -> repository -> createNew ( OrderTypes :: TYPE_CART ) ) ; return $ this -> cart ; }
Creates a new cart.

@return \Ekyna\Component\Sale\Order\OrderInterface
Creates a new cart .