You are here

public function ProgressBar::advance in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Helper/ProgressBar.php \Symfony\Component\Console\Helper\ProgressBar::advance()

Advances the progress output X steps.

Parameters

int $step Number of steps to advance:

Throws

\LogicException

File

vendor/symfony/console/Helper/ProgressBar.php, line 351

Class

ProgressBar
The ProgressBar provides helpers to display progress output.

Namespace

Symfony\Component\Console\Helper

Code

public function advance($step = 1) {
  $this
    ->setProgress($this->step + $step);
}