1 | <?php |
||
9 | class CommentConverter implements ConverterInterface, ConfigurationAwareInterface |
||
10 | { |
||
11 | /** |
||
12 | * @var Configuration |
||
13 | */ |
||
14 | 3 | protected $config; |
|
15 | |||
16 | 3 | /** |
|
17 | * @param Configuration $config |
||
18 | */ |
||
19 | public function setConfig(Configuration $config) |
||
23 | |||
24 | 87 | /** |
|
25 | * @param ElementInterface $element |
||
26 | * |
||
27 | * @return string |
||
28 | */ |
||
29 | public function convert(ElementInterface $element) |
||
36 | |||
37 | /** |
||
38 | * @return string[] |
||
39 | */ |
||
40 | public function getSupportedTags() |
||
44 | |||
45 | /** |
||
46 | * @param ElementInterface $element |
||
47 | * |
||
48 | * @return bool |
||
49 | */ |
||
50 | private function shouldPreserve(ElementInterface $element) |
||
62 | } |
||
63 |