Total Complexity | 2 |
Total Lines | 15 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
21 | final class IterableIteratorAggregate implements IteratorAggregate |
||
22 | { |
||
23 | /** |
||
24 | * @param iterable<TKey, T> $iterable |
||
25 | */ |
||
26 | 12 | public function __construct(private iterable $iterable) |
|
27 | { |
||
28 | 12 | } |
|
29 | |||
30 | /** |
||
31 | * @return Generator<TKey, T> |
||
32 | */ |
||
33 | 12 | public function getIterator(): Generator |
|
36 | } |
||
37 | } |
||
38 |