Conditions | 5 |
Paths | 9 |
Total Lines | 15 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
17 | protected function parseDefinition($definition) |
||
18 | { |
||
19 | $pattern = self::REGEX_START . 'allof' . self::REGEX_CONTENT . self::REGEX_END; |
||
20 | $inlineDef = ''; |
||
21 | if (preg_match($pattern, $definition, $matches)) { |
||
22 | if (isset($matches[1])) { |
||
23 | $inlineDef = $matches[1]; |
||
24 | } |
||
25 | } |
||
26 | if ($inlineDef) { |
||
27 | foreach ($this->parseList($inlineDef) as $item) { |
||
28 | $this->handleCommand('item', $item); |
||
29 | } |
||
30 | } |
||
31 | } |
||
32 | |||
60 |