// Own namespace
namespace CoreFramework\Resolver\Command;
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+use CoreFramework\Resolver\Resolver;
+
/**
* An instance for command resolver classes
*
/**
* Returns an command instance for a given request class
*
- * @param $requestInstance An instance of a request class
+ * @param $requestInstance An instance of a Requestable class
* @return $commandInstance An instance of the resolved command
*/
function resolveCommandByRequest (Requestable $requestInstance);
- /**
- * Checks whether the given command is valid
- *
- * @param $commandName The default command we shall execute
- * @return $isValid Whether the given command is valid
- * @throws EmptyVariableException Thrown if given command is not set
- */
- function isCommandValid ($commandName);
-
}