]> git.mxchange.org Git - hub.git/commitdiff
Need to set namespace + in config entries (some)
authorRoland Häder <roland@mxchange.org>
Fri, 19 May 2017 00:26:52 +0000 (02:26 +0200)
committerRoland Häder <roland@mxchange.org>
Fri, 21 Aug 2020 16:49:58 +0000 (18:49 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
application/hub/classes/resolver/command/console/class_HubConsoleCommandResolver.php
application/hub/classes/resolver/command/html/class_HubHtmlCommandResolver.php
application/hub/config.php

index ed41bdd2150a103637cc108b89ebced50519b68f..aa26c2764b0deb6509cf7c8bebc9631927b9b650 100644 (file)
@@ -65,7 +65,8 @@ class HubConsoleCommandResolver extends BaseCommandResolver implements CommandRe
                        throw new InvalidCommandException(array($resolverInstance, $commandName), self::EXCEPTION_INVALID_COMMAND);
                }
 
-               // Set the application instance
+               // Set namespace and application instance
+               $resolverInstance->setNamespace('Hub\Command');
                $resolverInstance->setApplicationInstance($applicationInstance);
 
                // Return the prepared instance
index cc88190099b8ace8597883865bf2c76d47d0c01d..a71ad087d2665f5a6c4c76aff0bf2210beb012cc 100644 (file)
@@ -65,7 +65,8 @@ class HubHtmlCommandResolver extends BaseCommandResolver implements CommandResol
                        throw new InvalidCommandException(array($resolverInstance, $commandName), self::EXCEPTION_INVALID_COMMAND);
                }
 
-               // Set the application instance
+               // Set namespace and application instance
+               $resolverInstance->setNamespace('Hub\Command');
                $resolverInstance->setApplicationInstance($applicationInstance);
 
                // Return the prepared instance
index b20eeca1526f8291740eaa2e152657aa82c74e70..e9e2c94b6cc33c1461048332082043dc994b0c9c 100644 (file)
@@ -160,10 +160,10 @@ $cfg->setConfigEntry('hub_console_cmd_main_resolver_class', 'Hub\Resolver\Comman
 $cfg->setConfigEntry('network_state_resolver_class', 'NetworkStateResolver');
 
 // CFG: NEWS-DOWNLOAD-FILTER
-$cfg->setConfigEntry('news_download_filter', 'NewsDownloadFilter');
+$cfg->setConfigEntry('news_download_filter', 'CoreFramework\Filter\News\NewsDownloadFilter');
 
 // CFG: NEWS-PROCESS-FILTER
-$cfg->setConfigEntry('news_process_filter', 'NewsProcessFilter');
+$cfg->setConfigEntry('news_process_filter', 'CoreFramework\Filter\News\NewsProcessFilter');
 
 // CFG: NODE-PHP-REQUIREMENTS-FILTER
 $cfg->setConfigEntry('node_php_requirements_filter', 'NodePhpRequirementsFilter');