Conditions | 2 |
Paths | 2 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
29 | private function addDebugInfo() |
||
30 | { |
||
31 | $tpl = $this->widget->template; |
||
32 | if (str_contains($this->widget->template, 'Widgets::')) { |
||
33 | $tpl = str_replace('Widgets::', 'app\Widgets\\', $this->widget->template); |
||
34 | } |
||
35 | $this->html = "<div title='" . get_class($this->widget) . "::class || template : {$tpl}" . $this->cacheState() . "' style='box-shadow: 0px 0px 15px 5px #00c62b inset'>" . $this->html . "</div>"; |
||
36 | } |
||
37 | |||
55 |