| Total Complexity | 3 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | final class NormalizeIterableAggregate implements IteratorAggregate |
||
| 23 | { |
||
| 24 | /** |
||
| 25 | * @var iterable<TKey, T> |
||
| 26 | */ |
||
| 27 | private iterable $iterable; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param iterable<TKey, T> $iterable |
||
| 31 | */ |
||
| 32 | public function __construct(iterable $iterable) |
||
| 33 | { |
||
| 34 | $this->iterable = $iterable; |
||
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return Generator<int, T> |
||
| 39 | */ |
||
| 40 | public function getIterator(): Traversable |
||
| 44 | } |
||
| 45 | } |
||
| 47 |