Skip to content

Commit 2a7a62e

Browse files
author
Serhiy Shkolyarenko
committed
MAGETWO-32501: Implement Cart Service interfaces
added preference for CartInterface
1 parent 6a6e732 commit 2a7a62e

File tree

1 file changed

+1
-0
lines changed
  • app/code/Magento/Quote/etc

1 file changed

+1
-0
lines changed

app/code/Magento/Quote/etc/di.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
</arguments>
2020
</type>
2121
<preference for="Magento\Quote\Api\Data\CartItemInterface" type="Magento\Quote\Model\Quote\Item" />
22+
<preference for="Magento\Quote\Api\Data\CartInterface" type="Magento\Quote\Model\Quote" />
2223
<preference for="Magento\Quote\Api\CartItemRepositoryInterface" type="Magento\Quote\Model\Quote\Item\Repository" />
2324
<preference for="Magento\Quote\Api\CartRepositoryInterface" type="Magento\Quote\Model\QuoteRepository" />
2425
<preference for="Magento\Quote\Api\Data\CartSearchResultsInterface" type="Magento\Framework\Api\SearchResults" />

0 commit comments

Comments
 (0)