| Total Complexity | 3 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 26 | final class ThematicBreakRenderer implements NodeRendererInterface, XmlNodeRendererInterface |
||
| 27 | { |
||
| 28 | /** |
||
| 29 | * @param ThematicBreak $node |
||
| 30 | * |
||
| 31 | * {@inheritDoc} |
||
| 32 | * |
||
| 33 | * @psalm-suppress MoreSpecificImplementedParamType |
||
| 34 | */ |
||
| 35 | 90 | public function render(Node $node, ChildNodeRendererInterface $childRenderer) |
|
| 42 | } |
||
| 43 | |||
| 44 | 6 | public function getXmlTagName(Node $node): string |
|
| 45 | { |
||
| 46 | 6 | return 'thematic_break'; |
|
| 47 | } |
||
| 48 | |||
| 49 | /** |
||
| 50 | * {@inheritDoc} |
||
| 51 | */ |
||
| 52 | 6 | public function getXmlAttributes(Node $node): array |
|
| 55 | } |
||
| 56 | } |
||
| 57 |