exitCode = $exitCode; $this->stdout = $stdout; $this->stderr = $stderr; } /** * Returns exit code of the process * * @return int */ public function getExitCode() { return $this->exitCode; } /** * Returns stdout of the process * * @return string */ public function getStdout() { return $this->stdout; } /** * Returns stderr of the process or null if the Command was configured to add stderr to stdout * with includeStderr( true ) * * @return string|null */ public function getStderr() { return $this->stderr; } }