what's the best replace for

\Magento\Checkout\Model\Cart $cart

since this class Cart is deprecated ?

  • 1
    @deprecated 100.1.0 Use \Magento\Quote\Model\Quote instead clearly written in the class – Philipp Sander Jan 21 '19 at 14:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.