PHP Interface ManaPHP\Security\RandomInterface

Mostrar archivo Open project: manaphp/manaphp

Public Methods

Method Description
getBase ( integer $length, integer $base = 62 ) : string
getByte ( integer $length ) : string
getFloat ( float $min, float $max = 1 ) : float
getInt ( integer $min, integer $max = 2147483647 ) : integer

Method Details

getBase() public method

public getBase ( integer $length, integer $base = 62 ) : string
$length integer
$base integer
return string

getByte() public method

public getByte ( integer $length ) : string
$length integer
return string

getFloat() public method

public getFloat ( float $min, float $max = 1 ) : float
$min float
$max float
return float

getInt() public method

public getInt ( integer $min, integer $max = 2147483647 ) : integer
$min integer
$max integer
return integer