Total Complexity | 8 |
Total Lines | 56 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class HTML extends Renderer |
||
11 | { |
||
12 | private string $separator = '<br>'; |
||
13 | private string $container = '<div class="text-diff-container">%s</div>'; |
||
14 | |||
15 | public function setSeparator(string $separator) : HTML |
||
16 | { |
||
17 | $this->separator = $separator; |
||
18 | |||
19 | return $this; |
||
20 | } |
||
21 | |||
22 | public function getSeparator() : string |
||
25 | } |
||
26 | |||
27 | public function getContainer() : string |
||
30 | } |
||
31 | |||
32 | /** |
||
33 | * @return string |
||
34 | * @throws DiffException |
||
35 | */ |
||
36 | public function render() : string |
||
68 |