code: public function streamOutput(bool $streamOutput = true): void
      {
          if ($streamOutput && ! isset($this->gitOutputListener)) {
              $this->gitOutputListener = new GitOutputStreamListener();
              $this->addOutputListener($this->gitOutputListener);
          }
  
          if (! $streamOutput && isset($this->gitOutputListener)) {
              $this->removeOutputListener($this->gitOutputListener);
              unset($this->gitOutputListener);
          }
      }
docs: Set whether or not to stream real-time output to STDOUT and STDERR.