| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 2 |
| Changes | 2 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 35 | 3 | public function getIterator(): Generator |
|
| 36 | { |
||
| 37 | 3 | $mit = new MultipleIterator($this->flags); |
|
| 38 | |||
| 39 | 3 | foreach ($this->iterables as $key => $iterable) { |
|
| 40 | 3 | $mit->attachIterator( |
|
| 41 | 3 | (new IterableIteratorAggregate($iterable))->getIterator(), |
|
| 42 | 3 | $key |
|
| 43 | 3 | ); |
|
| 44 | } |
||
| 45 | |||
| 46 | 3 | yield from $mit; |
|
| 47 | } |
||
| 49 |