Smile\ElasticsuiteCatalog\Block\Navigation\Renderer\Slider::getIntervals PHP Method

getIntervals() private method

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