]> git.mxchange.org Git - city.git/blobdiff - application/city/classes/city_daemon/default/class_SimulationDefaultCityDaemon.php
Continued:
[city.git] / application / city / classes / city_daemon / default / class_SimulationDefaultCityDaemon.php
index f58e327f5c85f354f75be0d8c097a5b6455be843..167ac8f920a411d03204218b295d26b2e60385a9 100644 (file)
@@ -7,8 +7,9 @@ use Org\Mxchange\City\Daemon\BaseCityDaemon;
 use Org\Mxchange\City\Helper\CityHelper;
 
 // Import framework stuff
-use Org\Mxchange\CoreFramework\Factory\ObjectFactory;
+use Org\Mxchange\CoreFramework\Factory\Object\ObjectFactory;
 use Org\Mxchange\CoreFramework\Handler\Task\HandleableTask;
+use Org\Mxchange\CoreFramework\Helper\Application\ApplicationHelper;
 use Org\Mxchange\CoreFramework\Registry\GenericRegistry;
 use Org\Mxchange\CoreFramework\Registry\Registerable;
 use Org\Mxchange\CoreFramework\Request\Requestable;
@@ -77,7 +78,7 @@ class SimulationDefaultCityDaemon extends BaseCityDaemon implements CityHelper,
         */
        public function addExtraCityFilters () {
                // Get the application instance from registry
-               $applicationInstance = GenericRegistry::getRegistry()->getInstance('application');
+               $applicationInstance = ApplicationHelper::getSelfInstance();
 
                // Get the controller from the application
                $controllerInstance = $applicationInstance->getControllerInstance();