]> git.mxchange.org Git - core.git/blobdiff - inc/main/interfaces/resolver/commands/class_CommandResolver.php
renamed lib-local.php -> lib-lfdb.php because it really loads the "legendary"
[core.git] / inc / main / interfaces / resolver / commands / class_CommandResolver.php
index 71e440b65f82d9a93f6f9bd7b1e05c096bb9a5fc..01677a3ff5754843788f3b9aead7ba88034776ac 100644 (file)
@@ -1,4 +1,11 @@
 <?php
+// Own namespace
+namespace CoreFramework\Resolver\Command;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+use CoreFramework\Resolver\Resolver;
+
 /**
  * An instance for command resolver classes
  *
@@ -25,20 +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);
 }
-
-// [EOF]
-?>