src/Scenario/ConsoleProgressBarTrait.php
protected function outputInProgress(string $line): void {
    if ($this->progress) {
      $this->progress->clear();
      $this->getOutput()->writeln($line);
      $this->progress->display();
    }
  }
protected function outputInProgress(string $line): void {
    if ($this->progress) {
      $this->progress->clear();
      $this->getOutput()->writeln($line);
      $this->progress->display();
    }
  }
protected function outputInProgress ( string $ line ) : void { if ( $ this -> progress ) { $ this -> progress -> clear ( ) ; $ this -> getOutput ( ) -> writeln ( $ line ) ; $ this -> progress -> display ( ) ; } }
Outputs a line of text while a progress bar is running.

@param string $line
Text to output.
Outputs a line of text while a progress bar is running .