Checkout::getRandomNumber
Generate a random number based on the current time, a random int and a third int that can be passed as a param.
Signature
public function getRandomNumber([integer
$int = 1,
[integer
$length = 16]] )
Parameters
$int
— integer- that can make the number "more random"
$length
— integer- of the string
Returns
- Int