public function getCommandKey() { if ($this->commandKey) { return $this->commandKey; } else { // If the command key hasn't been defined in the class we use the current class name return get_class($this); } }