Property | Type | Description | |
---|---|---|---|
$maxValue | maximum value |
Method | Description | |
---|---|---|
__construct ( numeric $maxValue, boolean $inclusive = false ) | Setup validation rule | |
getTemplate ( ) : string | Get error template | |
validate ( numeric $input ) : boolean | Check input data |
public __construct ( numeric $maxValue, boolean $inclusive = false ) | ||
$maxValue | numeric | |
$inclusive | boolean |