1 | <?php |
||
11 | trait HasModulesRoutesTrait |
||
12 | { |
||
13 | |||
14 | /** |
||
15 | * @param RouteCollection $collection |
||
16 | * @param $module |
||
17 | * @param $prefix |
||
18 | */ |
||
19 | 3 | public static function generateGenericModuleDefaultRoutes($collection, $module, $prefix) |
|
41 | |||
42 | /** |
||
43 | * @param string|array $module |
||
44 | * @param string $type |
||
45 | * @return string |
||
46 | */ |
||
47 | 3 | public static function generateModuleRouteClassBase($module, $type) |
|
57 | |||
58 | /** |
||
59 | * @param RouteCollection $collection |
||
60 | * @param $class |
||
61 | */ |
||
62 | public static function generateModuleDefaultErrorRoutes($collection, $class) |
||
66 | |||
67 | /** |
||
68 | * @param RouteCollection $collection |
||
69 | * @param $class |
||
70 | * @param string $module |
||
71 | */ |
||
72 | public static function generateModuleErrorRoutes($collection, $class, $module = 'default') |
||
79 | } |
||
80 |