| Total Complexity | 5 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | trait GetCurrentX |
||
| 8 | { |
||
| 9 | public static function getCurrentModule() |
||
| 12 | } |
||
| 13 | |||
| 14 | public static function getCurrentModuleName() |
||
| 15 | { |
||
| 16 | return GetCurrentXClass::getCurrentModule()->name; |
||
| 17 | } |
||
| 18 | |||
| 19 | public static function getCurrentMenuId() |
||
| 22 | } |
||
| 23 | |||
| 24 | public static function getCurrentId() |
||
| 27 | } |
||
| 28 | |||
| 29 | public static function getCurrentMethod() |
||
| 34 | } |