| Total Complexity | 2 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 22 | final class InfiniteIteratorAggregate implements IteratorAggregate |
||
| 23 | { |
||
| 24 | /** |
||
| 25 | * @var CachingIteratorAggregate<TKey, T> |
||
| 26 | */ |
||
| 27 | private CachingIteratorAggregate $iterator; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param Iterator<TKey, T> $iterator |
||
| 31 | */ |
||
| 32 | 1 | public function __construct(Iterator $iterator) |
|
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return Generator<TKey, T> |
||
| 39 | */ |
||
| 40 | 1 | public function getIterator(): Generator |
|
| 47 |