You are here

public function ResultSet::setQuery in Google Search Appliance 8

Sets query.

Parameters

\Drupal\google_appliance\SearchResults\SearchQuery $query: New value for query.

Return value

\Drupal\google_appliance\SearchResults\ResultSet The ResultSet instance.

File

src/SearchResults/ResultSet.php, line 373

Class

ResultSet
Defines a value object for a search response.

Namespace

Drupal\google_appliance\SearchResults

Code

public function setQuery(SearchQuery $query) {
  $this->query = $query;
  return $this;
}