| Total Complexity | 3 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | class XmlParser extends AbstractParser { |
||
| 20 | |||
| 21 | /** |
||
| 22 | * This solution is taken from here and then modified: |
||
| 23 | * https://www.php.net/manual/fr/regexp.reference.recursive.php#95568 |
||
| 24 | * |
||
| 25 | * @param string $xml |
||
| 26 | * @param bool $isXmlFragment |
||
| 27 | * |
||
| 28 | * @return ArrayObject |
||
| 29 | * @throws DOMException |
||
| 30 | * @throws InvalidXmlException |
||
| 31 | * @throws XmlParsingException |
||
| 32 | */ |
||
| 33 | public static function parse( $xml, $isXmlFragment = false ) { |
||
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @return DOMNodeList |
||
| 41 | */ |
||
| 42 | protected function getNodeListFromQueryPath(){ |
||
| 55 | } |