You are here

public function ResultSet::getResultItems in Search API 8

Retrieves the query result items.

Return value

\Drupal\search_api\Item\ItemInterface[] The query result items, keyed by item ID.

Overrides ResultSetInterface::getResultItems

1 call to ResultSet::getResultItems()
ResultSet::__toString in src/Query/ResultSet.php
Implements the magic __toString() method to simplify debugging.

File

src/Query/ResultSet.php, line 90

Class

ResultSet
Represents the result set of a search query.

Namespace

Drupal\search_api\Query

Code

public function getResultItems() {
  return $this->resultItems;
}