| Total Complexity | 3 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | final class PackIterableAggregate implements IteratorAggregate |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * @param iterable<TKey, T> $iterable |
||
| 25 | */ |
||
| 26 | 10 | public function __construct(private iterable $iterable) |
|
| 28 | 10 | } |
|
| 29 | |||
| 30 | /** |
||
| 31 | * @return Generator<int, array{0: TKey, 1: T}> |
||
| 32 | */ |
||
| 33 | 10 | public function getIterator(): Generator |
|
| 40 |