Total Complexity | 4 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class DomDocumentHandler extends AbstractDomDocumentHandler |
||
12 | { |
||
13 | public function getRootElement(): ?ElementHandler |
||
14 | { |
||
15 | return $this->rootElement; |
||
16 | } |
||
17 | |||
18 | protected function getNodeHandler(DOMNode $node, AbstractDomDocumentHandler $domDocument, int $index = -1): NodeHandler |
||
21 | } |
||
22 | |||
23 | protected function getElementHandler(DOMElement $element, AbstractDomDocumentHandler $domDocument, int $index = -1): ElementHandler |
||
24 | { |
||
25 | return new ElementHandler($element, $domDocument, $index); |
||
26 | } |
||
27 | |||
28 | protected function getAttributeHandler(DOMAttr $attribute, AbstractDomDocumentHandler $domDocument, int $index = -1): AttributeHandler |
||
31 | } |
||
32 | } |
||
33 |