| Total Lines | 8 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | "callback" => function () { |
||
| 12 | $cfg = $this->configuration->load("flash.php"); |
||
|
|
|||
| 13 | $template = $cfg["config"]["template"]; |
||
| 14 | $region = $cfg["config"]["region"] ?? null; |
||
| 15 | |||
| 16 | $flash = new \Faxity\Flash\Flash($template, $region); |
||
| 17 | $flash->setDI($this); |
||
| 18 | return $flash->render(); |
||
| 19 | }, |
||
| 23 |