The Random\Randomizer class

(PHP 8 >= 8.2.0)

Einführung

Provides a high-level API to the randomness provided by an Random\Engine.

Klassenbeschreibung

namespace Random;
final class Randomizer {
/* Eigenschaften */
public readonly Random\Engine $engine;
/* Methoden */
public Random\Randomizer::getFloat(float $min, float $max, Random\IntervalBoundary $boundary = Random\IntervalBoundary::ClosedOpen): float
public Random\Randomizer::getInt(int $min, int $max): int
}

Eigenschaften

engine

The low-level source of randomness for the Random\Randomizer’s methods.

Inhaltsverzeichnis

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top