DebugDecorator
in package
implements
RandomNumberGeneratorInterface
Table of Contents
Interfaces
Properties
Methods
- __construct() : mixed
- generate() : GMP
- Generate a random number between 0 and the specified upper boundary.
Properties
$generator
private
RandomNumberGeneratorInterface
$generator
$generatorName
private
string
$generatorName
Methods
__construct()
public
__construct(RandomNumberGeneratorInterface $generator, string $name) : mixed
Parameters
- $generator : RandomNumberGeneratorInterface
- $name : string
generate()
Generate a random number between 0 and the specified upper boundary.
public
generate(GMP $max) : GMP
Parameters
- $max : GMP