]> git.mxchange.org Git - city.git/blobdiff - application/city/class_ApplicationHelper.php
Continued:
[city.git] / application / city / class_ApplicationHelper.php
index 9156d8900f015f01499ff57db0e8cabbc504fa21..3d9c194a25253fe45a2a9f4cdb3a3a71defa6538 100644 (file)
@@ -5,12 +5,12 @@ namespace Org\Mxchange\CoreFramework\Helper\Application;
 // Import framework stuff
 use Org\Mxchange\CoreFramework\Application\BaseApplication;
 use Org\Mxchange\CoreFramework\Bootstrap\FrameworkBootstrap;
-use Org\Mxchange\CoreFramework\Factory\ObjectFactory;
+use Org\Mxchange\CoreFramework\Factory\Object\ObjectFactory;
 use Org\Mxchange\CoreFramework\Loader\ClassLoader;
 use Org\Mxchange\CoreFramework\Manager\ManageableApplication;
 use Org\Mxchange\CoreFramework\Registry\Registerable;
 use Org\Mxchange\CoreFramework\Template\CompileableTemplate;
-use Org\Mxchange\CoreFramework\Utils\String\StringUtils;
+use Org\Mxchange\CoreFramework\Utils\Strings\StringUtils;
 
 /**
  * A class holding general data about the application and some methods for
@@ -126,7 +126,7 @@ class ApplicationHelper extends BaseApplication implements ManageableApplication
 
                        // Set it in request
                        $requestInstance->setRequestElement('command', $commandName);
-               } // END - if
+               }
 
                // Get a controller resolver
                $resolverClass = sprintf(
@@ -146,7 +146,7 @@ class ApplicationHelper extends BaseApplication implements ManageableApplication
                $languageInstance = ObjectFactory::createObjectByConfiguredName('language_system_class');
 
                // And set it here
-               $this->setLanguageInstance($languageInstance);
+               FrameworkBootstrap::setLanguageInstance($languageInstance);
 
                // Is html request?
                if (FrameworkBootstrap::getRequestTypeFromSystem() == 'html') {
@@ -177,7 +177,7 @@ class ApplicationHelper extends BaseApplication implements ManageableApplication
                // Walk through all messages
                foreach ($messageList as $message) {
                        exit(__METHOD__ . ':MSG:' . $message);
-               } // END - foreach
+               }
        }
 
        /**