Conditions | 3 |
Paths | 3 |
Total Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
31 | public function setNextValidSubIterator() |
||
32 | { |
||
33 | while($this->iterator->valid()) { |
||
34 | $this->currentSubIterator = IterUtil::asIterator($this->iterator->current()); |
||
35 | $this->currentSubIterator->rewind(); |
||
36 | if($this->currentSubIterator->valid()) { |
||
37 | return; |
||
38 | } |
||
39 | $this->iterator->next(); |
||
40 | } |
||
41 | $this->currentSubIterator = new EmptyIterator(); |
||
42 | } |
||
43 | |||
81 |