Total Complexity | 5 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class DefaultConverter implements ConverterInterface, ConfigurationAwareInterface |
||
12 | { |
||
13 | public const DEFAULT_CONVERTER = '_default'; |
||
14 | |||
15 | /** @var Configuration */ |
||
16 | protected $config; |
||
17 | |||
18 | public function setConfig(Configuration $config): void |
||
19 | { |
||
20 | $this->config = $config; |
||
21 | 102 | } |
|
22 | |||
23 | 102 | public function convert(ElementInterface $element): string |
|
40 | 87 | } |
|
41 | |||
42 | /** |
||
43 | 87 | * @return string[] |
|
44 | 3 | */ |
|
45 | 2 | public function getSupportedTags(): array |
|
50 |