You are here

public function ResultSet::setResultsPerPage in Google Search Appliance 8

Sets results per page.

Parameters

int $resultsPerPage: New value for resultsPerPage.

Return value

$this

File

src/SearchResults/ResultSet.php, line 475

Class

ResultSet
Defines a value object for a search response.

Namespace

Drupal\google_appliance\SearchResults

Code

public function setResultsPerPage($resultsPerPage) {
  $this->resultsPerPage = $resultsPerPage;
  return $this;
}