| Conditions | 2 |
| Paths | 2 |
| Total Lines | 7 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | public function __constructor(string $nodeString, int $line) |
||
| 14 | { |
||
| 15 | parent::__construct($nodeString, $line); |
||
| 16 | $this->value = new NodeList(); |
||
| 17 | preg_match_all(Regex::SEQUENCE_VALUES, trim(substr(ltrim($nodeString), 1,-1)), $matches); |
||
| 18 | foreach ($matches['item'] as $key => $item) { |
||
| 19 | $this->value->push(new NodeItem('- '.$item, $line)); |
||
| 20 | } |
||
| 32 | } |