Review\Collection
Magento\Reports\Model\ResourceModel\Review\Collection
What it does
This collection class is used to retrieve and manage product review data specifically for reporting purposes in Magento 2.
Developers use it when building reports that need to display review information, allowing them to filter reviews by product, customize sorting, and generate count queries for pagination.
It extends the standard Review collection with additional methods optimized for report generation.
Public Methods
- addProductFilter()
- resetSelect()
- getSelectCountSql()
- setOrder()