Bluz\Validator\Rule\Max::__construct PHP Method

__construct() public method

Setup validation rule
public __construct ( numeric $maxValue, boolean $inclusive = false )
$maxValue numeric
$inclusive boolean
    public function __construct($maxValue, $inclusive = false)
    {
        $this->maxValue = $maxValue;
        $this->inclusive = $inclusive;
    }