digitsBetween.php
Table of Contents
Functions
- digitsBetween() : string
- Generates the 'digits_between:min,max' rule expression.
Functions
digitsBetween()
Generates the 'digits_between:min,max' rule expression.
digitsBetween(int $min, int $max) : string
The field under validation must be numeric and have a length between the given min and max.
Parameters
- $min : int
-
The minimum number of digits.
- $max : int
-
The maximum number of digits.
Return values
string —The compiled digits_between:min,max rule expression.