}
// 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