Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | namespace Apie\Core\Randomizer; |
| 3 | |
| 4 | interface RandomizerInterface |
| 5 | { |
| 6 | /** |
| 7 | * @param array<int, mixed> $elements |
| 8 | * @return array<int, mixed> |
| 9 | */ |
| 10 | public function randomElements(array $elements, int $count): array; |
| 11 | /** |
| 12 | * @param array<int, mixed> $elements |
| 13 | */ |
| 14 | public function randomElement(array $elements): mixed; |
| 15 | public function randomDigit(): int; |
| 16 | public function numberBetween(int $minLength, int $maxLength): int; |
| 17 | /** |
| 18 | * @param array<int|string, mixed>& $list |
| 19 | */ |
| 20 | public function shuffle(array& $list): void; |
| 21 | } |