* Creates an instance of a Image 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 InvalidArgumentException Thrown if default command is not set
* @throws InvalidCommandException Thrown if default command is invalid
*/
- public static final function createImageCommandResolver ($commandName, ManageableApplication $applicationInstance) {
+ public static final function createImageCommandResolver ($commandName) {
// Create the new instance
$resolverInstance = new ImageCommandResolver();
throw new InvalidCommandException(array($resolverInstance, $commandName), self::EXCEPTION_INVALID_COMMAND);
}
- // Set the application instance
- $resolverInstance->setApplicationInstance($applicationInstance);
-
// Return the prepared instance
return $resolverInstance;
}