Log in
Model

ProductSearchResults

Magento\Catalog\Model\ProductSearchResults

What it does

This class serves as a data container for product search results returned by repository methods in Magento 2.

Developers use this when implementing product search functionality through the repository pattern, as it provides a standardized way to return paginated product collections along with search criteria and total count information.