You are here

public function ResultSet::addKeyMatch in Google Search Appliance 8

Adds key match.

Parameters

\Drupal\google_appliance\SearchResults\KeyMatch $match: Match.

Return value

$this

File

src/SearchResults/ResultSet.php, line 162

Class

ResultSet
Defines a value object for a search response.

Namespace

Drupal\google_appliance\SearchResults

Code

public function addKeyMatch(KeyMatch $match) {
  $this->keyMatches[] = $match;
  return $this;
}