Conditions | 2 |
Paths | 2 |
Total Lines | 7 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
67 | public function init() |
||
68 | { |
||
69 | $this->registerCommand(new ModuleTemplateCommand); |
||
70 | foreach ($this->tag as $name => $value) { |
||
71 | $open = $this->config[$name]['open'] ?? $value[0]; |
||
72 | $close = $this->config[$name]['close'] ?? $value[1]; |
||
73 | $this->registerTag(new Tag($name, $open, $close, $value[2])); |
||
74 | } |
||
77 |