File tree Expand file tree Collapse file tree 3 files changed +16
-3
lines changed Expand file tree Collapse file tree 3 files changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ class Publisher extends BasePublisher
19
19
* result in a PublisherException. Files that do no fit the
20
20
* pattern will cause copy/merge to fail.
21
21
*
22
- * @var array<string,string>
22
+ * @var array<string, string>
23
23
*/
24
24
public $ restrictions = [
25
25
ROOTPATH => '* ' ,
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ class Publisher extends BaseConfig
26
26
* result in a PublisherException. Files that do no fit the
27
27
* pattern will cause copy/merge to fail.
28
28
*
29
- * @var array<string,string>
29
+ * @var array<string, string>
30
30
*/
31
31
public $ restrictions = [
32
32
ROOTPATH => '* ' ,
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ class Routing extends BaseConfig
24
24
* Default: APPPATH . 'Config/Routes.php'
25
25
*/
26
26
public array $ routeFiles = [
27
- APPPATH . 'Routes.php ' ,
27
+ APPPATH . 'Config/ Routes.php ' ,
28
28
];
29
29
30
30
/**
@@ -95,4 +95,17 @@ class Routing extends BaseConfig
95
95
* Default: false
96
96
*/
97
97
public bool $ prioritize = false ;
98
+
99
+ /**
100
+ * Map of URI segments and namespaces. For Auto Routing (Improved).
101
+ *
102
+ * The key is the first URI segment. The value is the controller namespace.
103
+ * E.g.,
104
+ * [
105
+ * 'blog' => 'Acme\Blog\Controllers',
106
+ * ]
107
+ *
108
+ * @var array [ uri_segment => namespace ]
109
+ */
110
+ public array $ moduleRoutes = [];
98
111
}
You can’t perform that action at this time.
0 commit comments