ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Public Member Functions | |
shuffleArray (Seed $seed) | |
Get a transformation which will shuffle a given array. More... | |
dontShuffle () | |
Get a transformation which will return the given value as is. More... | |
ILIAS\Refinery\Random\Group::dontShuffle | ( | ) |
ILIAS\Refinery\Random\Group::shuffleArray | ( | Seed | $seed | ) |
Get a transformation which will shuffle a given array.
Only arrays can be supplied to the transformation.
The transformation will be shuffled with the given $seed.
!! BEWARE OF THE SIDE EFFECT. This Transformation is not Side Effect free !! The internal state of the PRNG will be advanced on every usage.
Definition at line 39 of file Group.php.