@@ -21,17 +21,17 @@ |
||
21 | 21 | { |
22 | 22 | data([ |
23 | 23 | "content" => cache(['mainpage', 'now']) ?? view(["index", 'mainpage']), |
24 | - ]); |
|
24 | + ]); |
|
25 | 25 | |
26 | - Dispatcher::dispatch('message', __CLASS__); |
|
27 | - $this->info("Hello $name"); |
|
26 | + Dispatcher::dispatch('message', __CLASS__); |
|
27 | + $this->info("Hello $name"); |
|
28 | 28 | |
29 | - Dispatcher::notify('one'); |
|
29 | + Dispatcher::notify('one'); |
|
30 | 30 | |
31 | 31 | dump(PHP_VERSION); |
32 | - dump(__METHOD__); |
|
32 | + dump(__METHOD__); |
|
33 | 33 | |
34 | - render("layout", data()); |
|
34 | + render("layout", data()); |
|
35 | 35 | } |
36 | 36 | |
37 | 37 | #[Routing(url: '')] |