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) |
|
27 | |||
28 | /** |
||
29 | * @param string|array $module |
||
30 | * @param string $type |
||
31 | * @return string |
||
32 | */ |
||
33 | 3 | public static function generateModuleRouteClassBase($module, $type) |
|
43 | |||
44 | /** |
||
45 | * @param RouteCollection $collection |
||
46 | * @param $class |
||
47 | */ |
||
48 | public static function generateModuleDefaultErrorRoutes($collection, $class) |
||
52 | |||
53 | /** |
||
54 | * @param RouteCollection $collection |
||
55 | * @param $class |
||
56 | * @param string $module |
||
57 | */ |
||
58 | public static function generateModuleErrorRoutes($collection, $class, $module = 'default') |
||
65 | } |
||
66 |