]> git.mxchange.org Git - city.git/blobdiff - application/city/classes/resolver/command/console/class_CityConsoleCommandResolver.php
Continued:
[city.git] / application / city / classes / resolver / command / console / class_CityConsoleCommandResolver.php
index 1e6fc9a303248b174cea891d2f83d1a019ed12fe..308955557af5f484cfd22e737dcaa2936f153b22 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 CityConsoleCommandResolver extends BaseCommandResolver implements CommandR
         * Creates an instance of a CityConsole 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 createCityConsoleCommandResolver ($commandName, ManageableApplication $applicationInstance) {
+       public static final function createCityConsoleCommandResolver ($commandName) {
                // Create the new instance
                $resolverInstance = new CityConsoleCommandResolver();
 
@@ -65,11 +63,11 @@ class CityConsoleCommandResolver extends BaseCommandResolver implements CommandR
                        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;
        }
+
 }