Total Complexity | 5 |
Total Lines | 50 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
14 | abstract class AbstractDocAboutMenuPage extends AbstractDocsMenuPage |
||
15 | { |
||
16 | protected function openInModalWindow(): bool |
||
17 | { |
||
18 | return true; |
||
19 | } |
||
20 | |||
21 | /** |
||
22 | * Enable "/" in the filename |
||
23 | * |
||
24 | * @param string[] $specialChars |
||
25 | * @return string[] |
||
26 | */ |
||
27 | public function enableSpecialCharsForSanitization(array $specialChars): array |
||
28 | { |
||
29 | return array_diff( |
||
30 | $specialChars, |
||
31 | [ |
||
32 | '/', |
||
33 | ] |
||
34 | ); |
||
35 | } |
||
36 | |||
37 | protected function getRelativePathDir(): string |
||
40 | } |
||
41 | |||
42 | protected function getContentToPrint(): string |
||
69 |