0

Standard practice is to have Entity and EntityInterface (Order - OrderInterface, Customer - CustomerInterface).

But for Quote this rule is broken, regardless class Quote is the one implementer of CartInterface:

class Quote implements \Magento\Quote\Api\Data\CartInterface

Is it just legacy from Magento1 or it has a deeper meaning ?

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.