minValue = $minValue; $this->inclusive = $inclusive; } public function validate($input) { if ($this->inclusive) { return $input >= $this->minValue; } else { return $input > $this->minValue; } } }