Total Complexity | 2 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
21 | abstract class RouteController |
||
22 | { |
||
23 | |||
24 | /** |
||
25 | * Contains current route information |
||
26 | * @var array |
||
27 | */ |
||
28 | protected static $currentRoute = null; |
||
29 | |||
30 | /** |
||
31 | * Gets the current route |
||
32 | * @return array |
||
33 | */ |
||
34 | public static function getCurrentRoute() |
||
37 | } |
||
38 | |||
39 | /** |
||
40 | * @param array $route |
||
41 | */ |
||
42 | public static function setCurrentRoute(array $route) |
||
48 |