You are here

public function ResultSet::getIterator in Search API 8

File

src/Query/ResultSet.php, line 227

Class

ResultSet
Represents the result set of a search query.

Namespace

Drupal\search_api\Query

Code

public function getIterator() {
  return new \ArrayIterator($this->resultItems);
}