public function getErrorStyle(): self
{ return new self($this->input,
$this->
getErrorOutput());
} public function createTable(): Table
{ $output =
$this->output instanceof ConsoleOutputInterface ?
$this->output->
section() :
$this->output;
$style =
clone Table::
getStyleDefinition('symfony-style-guide'
);
$style->
setCellHeaderFormat('<info>%s</info>'
);
return (new Table($output))->
setStyle($style);
} private function getProgressBar(): ProgressBar
{ return $this->progressBar
??
throw new RuntimeException('The ProgressBar is not started.'
);
} private function autoPrependBlock(): void
{