Model
CustomerCart
Magento\QuoteGraphQl\Model\Resolver\CustomerCart
What it does
This GraphQL resolver retrieves the shopping cart for the currently logged-in customer.
Developers use this class when implementing the 'customerCart' GraphQL query to fetch a customer's active quote/cart data.
It ensures only authenticated customers can access their cart information and returns null if no cart exists.
Public Methods
- resolve()