parent::__construct(__CLASS__);
// Set prefix to "Console"
- $this->setCommandPrefix("Console");
+ $this->setCommandPrefix('Console');
}
/**
$commandInstance = null;
// Create class name
- $className = 'Console' . $this->convertToClassName($commandName) . 'Command';
+ $className = $this->getCommandPrefix() . $this->convertToClassName($commandName) . 'Command';
// Create command class name
$this->setClassName($className);
parent::__construct(__CLASS__);
// Set prefix to "Image"
- $this->setCommandPrefix("Image");
+ $this->setCommandPrefix('Image');
}
/**
$commandInstance = null;
// Create class name
- $className = 'Image' . $this->convertToClassName($commandName) . 'Command';
+ $className = $this->getCommandPrefix() . $this->convertToClassName($commandName) . 'Command';
// Is this class loaded?
if (!class_exists($this->getClassName())) {
parent::__construct(__CLASS__);
// Set prefix to "Web"
- $this->setCommandPrefix("Web");
+ $this->setCommandPrefix('Web');
}
/**
$commandInstance = null;
// Create class name
- $className = 'Web' . $this->convertToClassName($commandName) . 'Command';
+ $className = $this->getCommandPrefix() . $this->convertToClassName($commandName) . 'Command';
// Create command class name
$this->setClassName($className);