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