// Import framework stuff
use Org\Mxchange\CoreFramework\Command\InvalidCommandException;
-use Org\Mxchange\CoreFramework\Manager\ManageableApplication;
use Org\Mxchange\CoreFramework\Resolver\Command\BaseCommandResolver;
use Org\Mxchange\CoreFramework\Resolver\Command\CommandResolver;
* Creates an instance of a TestsConsole 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 createTestsConsoleCommandResolver ($commandName, ManageableApplication $applicationInstance) {
+ public static final function createTestsConsoleCommandResolver ($commandName) {
// Create the new instance
$resolverInstance = new TestsConsoleCommandResolver();
throw new InvalidCommandException(array($resolverInstance, $commandName), self::EXCEPTION_INVALID_COMMAND);
}
- // Set namespace and application instance
+ // Set namespace for command
$resolverInstance->setNamespace('Org\Mxchange\CoreFramework\Tests\Command');
- $resolverInstance->setApplicationInstance($applicationInstance);
// Return the prepared instance
return $resolverInstance;