Chris@0: message = $message; Chris@0: // Ensure the exit code is non-zero. The exit code may have Chris@0: // come from an exception, and those often default to zero if Chris@0: // a specific value is not provided. Chris@0: $this->exitCode = $exitCode == 0 ? 1 : $exitCode; Chris@0: } Chris@0: public function getExitCode() Chris@0: { Chris@0: return $this->exitCode; Chris@0: } Chris@0: Chris@0: public function getOutputData() Chris@0: { Chris@0: return $this->message; Chris@0: } Chris@0: }