/** * {@inheritdoc} */ public function getItemsData(array $intervals = [], $additionalRequestData = '') { $data = []; if (empty($intervals)) { $range = $this->range->getPriceRange(); if (!$range) { $range = $this->getRange(); $dbRanges = $this->resource->getCount($range); $data = $this->render->renderRangeData($range, $dbRanges); } } return $data; }
/** * {@inheritdoc} */ public function getRange() { return $this->range->getPriceRange(); }