Conditions | 2 |
Paths | 2 |
Total Lines | 13 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 3 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
19 | public function shipInit(): void |
||
20 | { |
||
21 | if (Rudra::config()->get("environment") === "development") { |
||
22 | |||
23 | Rudra::get("debugbar")['time']->stopMeasure('routing'); |
||
24 | Rudra::get("debugbar")['time']->stopMeasure('application'); |
||
25 | |||
26 | data([ |
||
27 | "debugbar" => Rudra::get("debugbar")->getJavascriptRenderer(), |
||
28 | ]); |
||
29 | } |
||
30 | |||
31 | $this->eventRegistration(); |
||
32 | } |
||
40 |