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