Source of file FacetCount.php
Size: 0,676 Bytes - Last Modified: 2021-12-23T10:38:36+00:00
/var/www/docs.ssmods.com/process/src/src/Container/FacetCount.php
123456789101112131415161718192021222324252627282930313233343536373839404142434445 | <?php declare(strict_types = 1); namespace Suilven\FreeTextSearch\Container; /** * Class Facet * * @package Suilven\FreeTextSearch\Container */ class FacetCount { /** @var string|float|int|bool */ private $key; /** @var int */ private $count; /** * FacetCount constructor. * * @param string|float|int|bool $key */ public function __construct($key, int $count) { $this->key = $key; $this->count = $count; } /** @return string|float|int|bool */ public function getKey() { return $this->key; } public function getCount(): int { return $this->count; } } |