ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
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.