You are here

public function ResultSetInterface::setResultCount in Search API 8

Sets the result count of the search.

Parameters

int $result_count: The number of search results, in total.

Return value

$this

1 method overrides ResultSetInterface::setResultCount()
ResultSet::setResultCount in src/Query/ResultSet.php
Sets the result count of the search.

File

src/Query/ResultSetInterface.php, line 39

Class

ResultSetInterface
Represents the result set of a search query.

Namespace

Drupal\search_api\Query

Code

public function setResultCount($result_count);