Total Complexity | 3 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | final class PlainRenderer extends AbstractRenderer |
||
18 | { |
||
19 | /** @var bool */ |
||
20 | private $escapeStrings = false; |
||
21 | |||
22 | /** |
||
23 | * @param bool $escapeStrings |
||
24 | */ |
||
25 | public function __construct(bool $escapeStrings = true) |
||
26 | { |
||
27 | $this->escapeStrings = $escapeStrings; |
||
28 | } |
||
29 | |||
30 | /** |
||
31 | * @inheritdoc |
||
32 | */ |
||
33 | public function apply($element, string $type, string $context = ''): string |
||
36 | } |
||
37 | |||
38 | /** |
||
39 | * @inheritdoc |
||
40 | */ |
||
41 | public function escapeStrings(): bool |
||
44 | } |
||
45 | } |
||
46 |