Total Complexity | 6 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class ModuleTemplateCommand extends Command |
||
11 | { |
||
12 | /** |
||
13 | * @param string $data |
||
14 | * @return string |
||
15 | */ |
||
16 | protected function parseU(string $data) |
||
17 | { |
||
18 | if (strlen(trim($data)) === 0) { |
||
19 | return '<?php echo $this->getUrl(); ?>'; |
||
20 | } |
||
21 | return '<?php echo $this->getUrl'.$data.'; ?>'; |
||
22 | } |
||
23 | |||
24 | /** |
||
25 | * @param $content |
||
26 | * @return string |
||
27 | */ |
||
28 | protected function parseStatic($content) |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * @param $content |
||
36 | * @return string |
||
37 | */ |
||
38 | protected function parseE($content) |
||
44 |