| Total Complexity | 4 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 25 | final class DocumentRenderer implements NodeRendererInterface, XmlNodeRendererInterface |
||
| 26 | { |
||
| 27 | /** |
||
| 28 | * @param Document $node |
||
| 29 | * |
||
| 30 | * {@inheritDoc} |
||
| 31 | * |
||
| 32 | * @psalm-suppress MoreSpecificImplementedParamType |
||
| 33 | */ |
||
| 34 | 2064 | public function render(Node $node, ChildNodeRendererInterface $childRenderer): string |
|
| 41 | } |
||
| 42 | |||
| 43 | 98 | public function getXmlTagName(Node $node): string |
|
| 46 | } |
||
| 47 | |||
| 48 | /** |
||
| 49 | * {@inheritDoc} |
||
| 50 | */ |
||
| 51 | public function getXmlAttributes(Node $node): array |
||
| 58 |