Eris\Generator\ArithmeticProgression::next PHP 메소드

next() 공개 메소드

public next ( $currentValue )
    public function next($currentValue)
    {
        if ($currentValue > $this->lowerLimit) {
            return $currentValue - 1;
        }
        return $this->lowerLimit;
    }
ArithmeticProgression