Zend\Math\Rand::getInteger
Generate a random integer between $min and $max
Signature
public function getInteger(int
$min,
[int
$max = false,
[bool
$strong = false]] )
Parameters
$min
— int$max
— int$strong
— object- true if you need a strong random generator (cryptography)
Returns
- int