Total Complexity | 3 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
23 | final class ConcatIterableAggregate implements IteratorAggregate |
||
24 | { |
||
25 | /** |
||
26 | * @var iterable<mixed, iterable<TKey, T>> |
||
27 | */ |
||
28 | private iterable $iterables; |
||
29 | |||
30 | /** |
||
31 | * @param iterable<mixed, iterable<TKey, T>> $iterables |
||
32 | */ |
||
33 | 1 | public function __construct(iterable $iterables) |
|
34 | { |
||
35 | 1 | $this->iterables = $iterables; |
|
36 | 1 | } |
|
37 | |||
38 | /** |
||
39 | * @return Generator<TKey, T> |
||
40 | */ |
||
41 | 1 | public function getIterator(): Generator |
|
52 | 1 | } |
|
53 | } |
||
54 |