Documentation

RandomNumberGenerator
in package
implements RandomNumberGeneratorInterface

Table of Contents

Interfaces

RandomNumberGeneratorInterface

Properties

$adapter  : GmpMathInterface

Methods

__construct()  : mixed
RandomNumberGenerator constructor.
generate()  : GMP
Generate a random number between 0 and the specified upper boundary.

Properties

Methods

generate()

Generate a random number between 0 and the specified upper boundary.

public generate(GMP $max) : GMP
Parameters
$max : GMP
Return values
GMP

        
On this page

Search results