Total Complexity | 2 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
13 | final class MarkdownParser implements MDParser |
||
14 | { |
||
15 | /** |
||
16 | * @var ConverterInterface |
||
17 | */ |
||
18 | private ConverterInterface $converter; |
||
19 | |||
20 | /** |
||
21 | * CommonMarkConverter constructor. |
||
22 | */ |
||
23 | public function __construct(ConverterInterface $converter) |
||
24 | { |
||
25 | $this->converter = $converter; |
||
26 | } |
||
27 | |||
28 | public function parse(string $text): string |
||
31 | } |
||
32 | } |
||
33 |