1 | <?php |
||
14 | class Combinations extends CombinationsIterator { |
||
15 | |||
16 | /** |
||
17 | * Alias of the get() method. |
||
18 | * |
||
19 | * @return \Generator |
||
20 | * The prime generator. |
||
21 | */ |
||
22 | 2 | public function generator() { |
|
25 | |||
26 | /** |
||
27 | * The generator. |
||
28 | * |
||
29 | * @param array $dataset |
||
30 | * The dataset. |
||
31 | * |
||
32 | * @codingStandardsIgnoreStart |
||
33 | * @return \Generator |
||
34 | * @codingStandardsIgnoreEnd |
||
35 | */ |
||
36 | 2 | protected function get(array $dataset, $length) { |
|
52 | |||
53 | /** |
||
54 | * Convert the generator into an array. |
||
55 | * |
||
56 | * @return array |
||
57 | * The elements. |
||
58 | */ |
||
59 | 2 | public function toArray() { |
|
68 | |||
69 | } |
||
70 |