You are here

private function SymfonyStyle::getProgressBar in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/console/Style/SymfonyStyle.php \Symfony\Component\Console\Style\SymfonyStyle::getProgressBar()

Return value

ProgressBar

File

vendor/symfony/console/Style/SymfonyStyle.php, line 361

Class

SymfonyStyle
Output decorator helpers for the Symfony Style Guide.

Namespace

Symfony\Component\Console\Style

Code

private function getProgressBar() {
  if (!$this->progressBar) {
    throw new \RuntimeException('The ProgressBar is not started.');
  }
  return $this->progressBar;
}