]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/main/resolver/command/class_BaseCommandResolver.php
Re-added with access protection
[shipsimu.git] / inc / classes / main / resolver / command / class_BaseCommandResolver.php
index 4ad1d3edf829de0d74aa762e0be913c445b48c2a..7493507a5fef56fefb931faa127a86f40b75bba3 100644 (file)
@@ -114,13 +114,13 @@ class BaseCommandResolver extends BaseResolver {
                }
 
                // Now, let us create the full name of the command class
-               $className = sprintf("%s%sCommand",
+               $this->setClassName(sprintf("%s%sCommand",
                        $this->commandPrefix,
                        $this->convertToClassName($commandName)
-               );
+               ));
 
                // Is this class already loaded?
-               if (class_exists($className)) {
+               if (class_exists($this->getClassName())) {
                        // This class does exist. :-)
                        $isValid = true;
                } // END - if