| Conditions | 3 |
| Paths | 3 |
| Total Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | public function retrieveNextCsvRow() |
||
| 24 | { |
||
| 25 | $nextLine = IterUtil::getCurrentAndAdvance($this->lines, array('default' => false)); |
||
| 26 | if($nextLine === false) { |
||
| 27 | return false; |
||
| 28 | } |
||
| 29 | $rows = str_getcsv($nextLine, $this->options['delimiter'], $this->options['enclosure'], $this->options['escape']); |
||
| 30 | return count($rows) == 0 ? false : $rows; |
||
| 31 | } |
||
| 32 | } |
||
| 33 |