public function ResultSetInterface::getResultCount in Search API 8
Retrieves the total number of results that were found in this search.
Return value
int|null The total number of results, if set. NULL otherwise.
1 method overrides ResultSetInterface::getResultCount()
- ResultSet::getResultCount in src/
Query/ ResultSet.php - Retrieves the total number of results that were found in this search.
File
- src/
Query/ ResultSetInterface.php, line 29
Class
- ResultSetInterface
- Represents the result set of a search query.
Namespace
Drupal\search_api\QueryCode
public function getResultCount();