Model
ReviewCount
Magento\ReviewGraphQl\Model\Resolver\Product\ReviewCount
What it does
This GraphQL resolver retrieves the total count of approved reviews for a product in Magento 2.
Developers use this class to provide review count data when querying product information through GraphQL APIs, checking if reviews are enabled and returning the count for the current store context.
Public Methods
- resolve()