getDigit()
getDigit(boolean $includeZero = true) : string
Generate a random digit character.
Parameters
boolean | $includeZero | Flag for including the zero digit (default => true). |
Returns
string —Randomly generated digit character.