CategoryProductSearchResultInterface
Magento\Catalog\Api\Data\CategoryProductSearchResultInterface
What it does
This interface defines the contract for search results containing category-product associations in Magento 2.
Developers use this when working with API endpoints that return collections of product links within categories, such as when retrieving all products assigned to a specific category.
It extends the base SearchResultsInterface to provide type-specific methods for handling CategoryProductLink items.
Public Methods
- getItems()
- setItems()