| Total Complexity | 3 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class HomeController extends AbstractController |
||
| 9 | { |
||
| 10 | public static function __setupNavigation() |
||
| 11 | { |
||
| 12 | return [ |
||
| 13 | 'type' => 'link', |
||
| 14 | 'parent' => 'root', |
||
| 15 | 'id' => 'home', |
||
| 16 | 'title' => 'Dashboard', |
||
| 17 | 'href' => 'home', |
||
| 18 | 'icon' => 'hs-admin-panel', |
||
| 19 | 'view' => 'HomeController::home', |
||
| 20 | ]; |
||
| 21 | } |
||
| 22 | |||
| 23 | public static function __callNumber() |
||
| 24 | { |
||
| 25 | return 1; |
||
| 26 | } |
||
| 27 | |||
| 28 | public function home($navigation, Forum $forum) |
||
| 35 | ] |
||
| 36 | ); |
||
| 37 | } |
||
| 39 |