Total Complexity | 2 |
Total Lines | 16 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class LinkExporter extends HtmlExporter |
||
11 | { |
||
12 | private string $text; |
||
13 | |||
14 | public function __construct(Link $node, string $text) |
||
15 | { |
||
16 | parent::__construct($node); |
||
17 | $this->text = $text; |
||
18 | $this->tags = ['<a href="%s" title="%s">', '</a>']; |
||
19 | } |
||
20 | |||
21 | public function export(): string |
||
26 | } |
||
27 | } |
||
28 |