Smile\ElasticsuiteCatalog\Block\Navigation\Renderer\PriceSlider::getMinValue PHP Method

getMinValue() protected method

Returns min value of the slider.
protected getMinValue ( ) : integer
return integer
    protected function getMinValue()
    {
        $minValue = $this->getFilter()->getMinValue();
        if ($this->isManualCalculation() && $this->getStepValue() > 0) {
            $stepValue = $this->getStepValue();
            $minValue = floor($minValue / $stepValue) * $stepValue;
        }
        return $minValue;
    }