* @author Timo Hund */ class NumericRangeCount { /** * @var float */ protected $rangeItem; /** * @var int */ protected $documentCount = 0; /** * @param float $rangeItem * @param integer $documentCount */ public function __construct($rangeItem, $documentCount) { $this->rangeItem = $rangeItem; $this->documentCount = $documentCount; } /** * @return float */ public function getRangeItem() { return $this->rangeItem; } /** * @return int */ public function getDocumentCount() { return $this->documentCount; } }