]> git.mxchange.org Git - city.git/blobdiff - application/city/classes/resolver/command/html/class_CityHtmlCommandResolver.php
Continued:
[city.git] / application / city / classes / resolver / command / html / class_CityHtmlCommandResolver.php
index 90ac6ffd48e10d1d51f9c5428e0e1147485c2268..4b7cac4842ed250f456999284f0f1b6af4e331ce 100644 (file)
@@ -3,7 +3,6 @@
 namespace Org\Mxchange\City\Resolver\Command;
 
 // Import framework stuff
-use Org\Mxchange\CoreFramework\Manager\ManageableApplication;
 use Org\Mxchange\CoreFramework\Resolver\Command\BaseCommandResolver;
 use Org\Mxchange\CoreFramework\Resolver\Command\CommandResolver;
 
@@ -47,12 +46,11 @@ class CityHtmlCommandResolver extends BaseCommandResolver implements CommandReso
         * Creates an instance of a CityHtml command resolver with a given default command
         *
         * @param       $commandName                            The default command we shall execute
-        * @param       $applicationInstance            An instance of a manageable application helper class
         * @return      $resolverInstance                       The prepared command resolver instance
         * @throws      EmptyVariableException          Thrown if default command is not set
         * @throws      InvalidCommandException         Thrown if default command is invalid
         */
-       public static final function createCityHtmlCommandResolver ($commandName, ManageableApplication $applicationInstance) {
+       public static final function createCityHtmlCommandResolver ($commandName) {
                // Create the new instance
                $resolverInstance = new CityHtmlCommandResolver();
 
@@ -65,11 +63,11 @@ class CityHtmlCommandResolver extends BaseCommandResolver implements CommandReso
                        throw new InvalidCommandException(array($resolverInstance, $commandName), self::EXCEPTION_INVALID_COMMAND);
                }
 
-               // Set namespace and application instance
+               // Set namespace
                $resolverInstance->setNamespace('Org\Mxchange\City\Command');
-               $resolverInstance->setApplicationInstance($applicationInstance);
 
                // Return the prepared instance
                return $resolverInstance;
        }
+
 }