]> git.mxchange.org Git - core.git/blobdiff - inc/main/interfaces/resolver/commands/class_CommandResolver.php
Moved back out of "Generic" namespace, really no need
[core.git] / inc / main / interfaces / resolver / commands / class_CommandResolver.php
index 26750caffa799c2944b5d2ac4b14c5cf71f0678d..01677a3ff5754843788f3b9aead7ba88034776ac 100644 (file)
@@ -2,6 +2,10 @@
 // Own namespace
 namespace CoreFramework\Resolver\Command;
 
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+use CoreFramework\Resolver\Resolver;
+
 /**
  * An instance for command resolver classes
  *
@@ -28,18 +32,9 @@ interface CommandResolver extends Resolver {
        /**
         * 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);
-
 }