File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ class Publisher extends BasePublisher
1919 * result in a PublisherException. Files that do no fit the
2020 * pattern will cause copy/merge to fail.
2121 *
22- * @var array<string,string>
22+ * @var array<string, string>
2323 */
2424 public $ restrictions = [
2525 ROOTPATH => '* ' ,
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ class Publisher extends BaseConfig
2626 * result in a PublisherException. Files that do no fit the
2727 * pattern will cause copy/merge to fail.
2828 *
29- * @var array<string,string>
29+ * @var array<string, string>
3030 */
3131 public $ restrictions = [
3232 ROOTPATH => '* ' ,
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ class Routing extends BaseConfig
2424 * Default: APPPATH . 'Config/Routes.php'
2525 */
2626 public array $ routeFiles = [
27- APPPATH . 'Routes.php ' ,
27+ APPPATH . 'Config/ Routes.php ' ,
2828 ];
2929
3030 /**
@@ -95,4 +95,17 @@ class Routing extends BaseConfig
9595 * Default: false
9696 */
9797 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 = [];
98111}
You can’t perform that action at this time.
0 commit comments