private function getCommands() { if (empty($this->commands)) { $this->commands = $this->generateCommandMap(); } return $this->commands; }