You are here

public function ResultSet::getQuery in Search API 8

Retrieves the query executed for this search result.

Return value

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

Overrides ResultSetInterface::getQuery

File

src/Query/ResultSet.php, line 68

Class

ResultSet
Represents the result set of a search query.

Namespace

Drupal\search_api\Query

Code

public function getQuery() {
  return $this->query;
}