public function clearOutput() { $this->stdout = ''; $this->incrementalOutputOffset = 0; return $this; }