Model
CartTotalQuantity
Magento\QuoteGraphQl\Model\Resolver\CartTotalQuantity
What it does
This GraphQL resolver returns the total quantity of items in a shopping cart.
Developers use this class to expose the cart's total item count through Magento's GraphQL API, allowing frontend applications to display how many items are currently in the customer's cart.
Public Methods
- resolve()