| Conditions | 5 |
| Paths | 5 |
| Total Lines | 20 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | protected function readNext() |
||
| 23 | { |
||
| 24 | $xml = $this->getXMLReader(); |
||
| 25 | while ($xml->read()) { |
||
| 26 | if (\XMLReader::ELEMENT === $xml->nodeType) { |
||
| 27 | switch ($xml->name) { |
||
| 28 | case 'si': |
||
| 29 | $this->currentIndex++; |
||
| 30 | break; |
||
| 31 | case 't': |
||
| 32 | $this->values[$this->currentIndex] = $xml->readString(); |
||
| 33 | |||
| 34 | return; |
||
| 35 | } |
||
| 36 | } |
||
| 37 | } |
||
| 38 | |||
| 39 | $this->valid = false; |
||
| 40 | $this->closeXMLReader(); |
||
| 41 | } |
||
| 42 | } |
||
| 43 |