You are here

public function ResultSet::setTotal in Google Search Appliance 8

Sets total.

Parameters

int $total: Total.

Return value

$this

File

src/SearchResults/ResultSet.php, line 121

Class

ResultSet
Defines a value object for a search response.

Namespace

Drupal\google_appliance\SearchResults

Code

public function setTotal($total) {
  $this->total = $total;
  return $this;
}