private function getIntervals() { $intervals = []; foreach ($this->getFilter()->getItems() as $item) { $intervals[] = ['value' => $item->getValue(), 'count' => $item->getCount()]; } return $intervals; }