| Conditions | 5 |
| Paths | 4 |
| Total Lines | 17 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 40 | protected function createValuesIterator() |
||
| 41 | { |
||
| 42 | $iterator = $this->getExcelObject()->createRowIterator( |
||
| 43 | $this->worksheetIterator->key(), |
||
| 44 | $this->options['parser_options'] |
||
| 45 | ); |
||
| 46 | $iterator->rewind(); |
||
| 47 | while ($iterator->valid() && ((int) $this->options['label_row'] > $iterator->key())) { |
||
| 48 | $iterator->next(); |
||
| 49 | } |
||
| 50 | $this->labels = $iterator->current(); |
||
| 51 | while ($iterator->valid() && ((int) $this->options['data_row'] > $iterator->key())) { |
||
| 52 | $iterator->next(); |
||
| 53 | } |
||
| 54 | |||
| 55 | return $iterator; |
||
| 56 | } |
||
| 57 | |||
| 73 |