Log in
Interface

CustomerSearchResultsInterface

Magento\Customer\Api\Data\CustomerSearchResultsInterface

What it does

This interface defines the contract for customer search result collections in Magento 2.

Developers use it when working with customer repository search methods to retrieve paginated lists of customers with metadata like total count and search criteria.

It extends the base SearchResultsInterface and specifies that items must be CustomerInterface objects.

Public Methods

  • getItems()
  • setItems()