| Total Complexity | 3 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | final class PackIterableAggregate implements IteratorAggregate |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * @var iterable<TKey, T> |
||
| 25 | */ |
||
| 26 | private iterable $iterable; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @param iterable<TKey, T> $iterable |
||
| 30 | */ |
||
| 31 | public function __construct(iterable $iterable) |
||
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @return Traversable<int, array{0: TKey, 1: T}> |
||
| 38 | */ |
||
| 39 | public function getIterator(): Traversable |
||
| 46 |