public function Result::setCount in Facets 8
Sets the count for the result.
Parameters
int $count: The amount of items for the result.
Overrides ResultInterface::setCount
File
- src/
Result/ Result.php, line 105
Class
- Result
- The default implementation of the result interfaces.
Namespace
Drupal\facets\ResultCode
public function setCount($count) {
$this->count = (int) $count;
}