You are here

public function SymfonyStyle::progressStart in Zircon Profile 8

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

Starts the progress output.

Parameters

int $max Maximum steps (0 if unknown):

Overrides StyleInterface::progressStart

File

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

Class

SymfonyStyle
Output decorator helpers for the Symfony Style Guide.

Namespace

Symfony\Component\Console\Style

Code

public function progressStart($max = 0) {
  $this->progressBar = $this
    ->createProgressBar($max);
  $this->progressBar
    ->start();
}