CakeFest 2024: The Official CakePHP Conference

Random\Randomizer::__construct

(PHP 8 >= 8.2.0)

Random\Randomizer::__constructConstructs a new Randomizer

Descrição

public Random\Randomizer::__construct(?Random\Engine $engine = null)

Aviso

Esta função não está documentada; apenas a lista de argumentos está disponível.

Parâmetros

engine

The Random\Engine to use to generate randomness.

If engine is omitted or null, a new Random\Engine\Secure object will be used.

Exemplos

Exemplo #1 Random\Randomizer::__construct() example

<?php

/* ... */

?>

O exemplo acima produzirá algo semelhante a:

...
add a note

User Contributed Notes

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