]> git.mxchange.org Git - city.git/blobdiff - application/city/classes/commands/console/class_CityConsoleDaemonCommand.php
Continued:
[city.git] / application / city / classes / commands / console / class_CityConsoleDaemonCommand.php
index f523e58447ebe4eba442bd109de5f8309dcad9d2..a85a2ec71fa49282a9609d6e159e201a4bab6c58 100644 (file)
@@ -9,7 +9,8 @@ use Org\Mxchange\City\Daemon\Factory\CityDaemonFactory;
 use Org\Mxchange\CoreFramework\Command\BaseCommand;
 use Org\Mxchange\CoreFramework\Command\Commandable;
 use Org\Mxchange\CoreFramework\Controller\Controller;
-use Org\Mxchange\CoreFramework\Factory\ObjectFactory;
+use Org\Mxchange\CoreFramework\Factory\Object\ObjectFactory;
+use Org\Mxchange\CoreFramework\Helper\Application\ApplicationHelper;
 use Org\Mxchange\CoreFramework\Registry\GenericRegistry;
 use Org\Mxchange\CoreFramework\Request\Requestable;
 use Org\Mxchange\CoreFramework\Resolver\Command\CommandResolver;
@@ -75,7 +76,7 @@ class CityConsoleDaemonCommand extends BaseCommand implements Commandable {
         */
        public function execute (Requestable $requestInstance, Responseable $responseInstance) {
                // Get a registry and the application instance from it
-               $applicationInstance = GenericRegistry::getRegistry()->getInstance('application');
+               $applicationInstance = ApplicationHelper::getSelfInstance();
 
                /*
                 * ----------------------- Bootstrapping phase ------------------------