]> git.mxchange.org Git - hub.git/commitdiff
Well, sad. Cannot "deeper-namespace" and need to call setNameSpace()
authorRoland Häder <roland@mxchange.org>
Thu, 18 May 2017 23:25:15 +0000 (01:25 +0200)
committerRoland Häder <roland@mxchange.org>
Fri, 21 Aug 2020 16:49:57 +0000 (18:49 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
application/hub/classes/controller/console/class_HubConsoleAptProxyController.php
application/hub/classes/controller/console/class_HubConsoleChatController.php
application/hub/classes/controller/console/class_HubConsoleCrawlerController.php
application/hub/classes/controller/console/class_HubConsoleCruncherController.php
application/hub/classes/controller/console/class_HubConsoleDefaultNewsController.php
application/hub/classes/controller/console/class_HubConsoleFuseController.php
application/hub/classes/controller/console/class_HubConsoleMinerController.php
application/hub/classes/resolver/controller/console/class_HubConsoleControllerResolver.php
application/hub/classes/resolver/controller/html/class_HubHtmlControllerResolver.php

index bc048de01967f5340218d7c85fa2a4533746ca3d..00a0496e68f58bfadf8ce60a8fe49624ac7b52d9 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 // Own namespace
-namespace Hub\Controller\AptProxy;
+namespace Hub\Controller;
 
 // Import framework stuff
 use CoreFramework\Controller\BaseController;
index f473b32f87272ba227e8ac8a2bbe9d87222232f5..54e012b6f02b3eb8126534fb7aadf8f420f574b3 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 // Own namespace
-namespace Hub\Controller\Chat;
+namespace Hub\Controller;
 
 // Import framework stuff
 use CoreFramework\Controller\BaseController;
index dcdf69d6e9bbca833f9add03c79c5e2f134b7d66..f62ab9fd65dac8e1e4bd9142e7d6786b1fd9747e 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 // Own namespace
-namespace Hub\Controller\Crawler;
+namespace Hub\Controller;
 
 // Import framework stuff
 use CoreFramework\Controller\BaseController;
index 4ae1e9d13c913a54264335cc54d7092650b2e69f..389f313546b4dd0ac31719bebb368155d0dd4d2d 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 // Own namespace
-namespace Hub\Controller\Cruncher;
+namespace Hub\Controller;
 
 // Import framework stuff
 use CoreFramework\Controller\BaseController;
index 6c2f0f46049bf3bcf77310fc792097ed6d869bd0..2bf95e1ebf73e8b05bee126aeac1ef8f2d542b29 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 // Own namespace
-namespace Hub\Controller\News;
+namespace Hub\Controller;
 
 // Import framework stuff
 use CoreFramework\Controller\BaseController;
index fefe050331bb30b9abbffec401176eb8b5355247..b2c2ec5c219c7b4f240a2c604288c8a1429ce873 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 // Own namespace
-namespace Hub\Controller\Fuse;
+namespace Hub\Controller;
 
 // Import framework stuff
 use CoreFramework\Controller\BaseController;
index ed5afca582a3992ce9e789c87b5e7ff87b93a35f..a16c3da8dcdb28b1652c92c0da101fa0ad07d743 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 // Own namespace
-namespace Hub\Controller\Miner;
+namespace Hub\Controller;
 
 // Import framework stuff
 use CoreFramework\Controller\BaseController;
index 9df746ac72ef59d5781bc54e670cf96653d4d8fd..cab02d6e59960d30a7c6f40610d38c4c1e0d2003 100644 (file)
@@ -69,7 +69,8 @@ class HubConsoleControllerResolver extends BaseControllerResolver implements Con
                // Set the application instance
                $resolverInstance->setApplicationInstance($applicationInstance);
 
-               // Set command name
+               // Set namespace and command name
+               $resolverInstance->setNamespace('Hub\Controller');
                $resolverInstance->setControllerName($controllerName);
 
                // Return the prepared instance
index e447fd517a1172eb88ff0fef5ce8b3bb2786a5d5..5a479574604154b67bfbe340105df1a1ca5e102a 100644 (file)
@@ -69,7 +69,8 @@ class HubHtmlControllerResolver extends BaseControllerResolver implements Contro
                // Set the application instance
                $resolverInstance->setApplicationInstance($applicationInstance);
 
-               // Set command name
+               // Set namespace and command name
+               $resolverInstance->setNamespace('Hub\Controller');
                $resolverInstance->setControllerName($controllerName);
 
                // Return the prepared instance