public function resolveCommandByRequest (Requestable $requestInstance) {
// Init variables
$commandName = '';
- $commandInstance = null;
+ $commandInstance = NULL;
// This goes fine so let's resolve the command
$commandName = $requestInstance->getRequestElement('command');
*/
public function resolveCommand ($commandName) {
// Initiate the instance variable
- $commandInstance = null;
+ $commandInstance = NULL;
// Is the command empty? Then fall back to default command
if (empty($commandName)) {
*/
private function loadCommand ($commandName) {
// Init command instance
- $commandInstance = null;
+ $commandInstance = NULL;
// Create class name
$className = $this->getClassPrefix() . $this->convertToClassName($commandName) . 'Command';