Jyxo\Input\Validator\LessThan::setMax PHP Method

setMax() public method

Sets the maximum value.
public setMax ( integer $max ) : self
$max integer New maximum value
return self
    public function setMax(int $max) : self
    {
        $this->max = $max;
        return $this;
    }