You are here

public function ResultSet::__construct in Search API 8

Constructs a ResultSet object.

Parameters

\Drupal\search_api\Query\QueryInterface $query: The executed query.

File

src/Query/ResultSet.php, line 61

Class

ResultSet
Represents the result set of a search query.

Namespace

Drupal\search_api\Query

Code

public function __construct(QueryInterface $query) {
  $this->query = $query;
}