PageSearchResultsInterface
Magento\Cms\Api\Data\PageSearchResultsInterface
What it does
This interface defines the contract for CMS page search results in Magento 2.
Developers use this when working with repository methods that return multiple CMS pages, such as searching or filtering pages through the PageRepositoryInterface.
It extends SearchResultsInterface and ensures that getItems() returns an array of PageInterface objects, providing a standardized way to handle collections of CMS pages with pagination and filtering metadata.
Public Methods
- getItems()
- setItems()