CategorySearchResults
Magento\Catalog\Model\CategorySearchResults
What it does
This class serves as a Data Transfer Object (DTO) that holds the results of category search operations in Magento 2.
Developers use this when working with the CategoryRepository to retrieve paginated lists of categories along with search criteria and total count.
It implements the CategorySearchResultsInterface to ensure type consistency when returning category collections from repository methods.