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