Total Complexity | 5 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Coverage | 90.91% |
Changes | 0 |
1 | <?php |
||
22 | final class DisallowedRawHtmlRenderer implements NodeRendererInterface, ConfigurationAwareInterface |
||
23 | { |
||
24 | /** |
||
25 | * @var NodeRendererInterface |
||
26 | * |
||
27 | * @psalm-readonly |
||
28 | */ |
||
29 | private $innerRenderer; |
||
30 | |||
31 | 117 | public function __construct(NodeRendererInterface $innerRenderer) |
|
34 | 117 | } |
|
35 | |||
36 | /** |
||
37 | * {@inheritdoc} |
||
38 | */ |
||
39 | 9 | public function render(Node $node, ChildNodeRendererInterface $childRenderer) |
|
49 | } |
||
50 | |||
51 | 117 | public function setConfiguration(ConfigurationInterface $configuration): void |
|
58 |