You are here

public function ProgressBar::getStep 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::getStep()

Gets the progress bar step.

Return value

int The progress bar step

Deprecated

since version 2.6, to be removed in 3.0. Use {@link getProgress()} instead.

File

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

Class

ProgressBar
The ProgressBar provides helpers to display progress output.

Namespace

Symfony\Component\Console\Helper

Code

public function getStep() {
  @trigger_error('The ' . __METHOD__ . ' method is deprecated since version 2.6 and will be removed in 3.0. Use the getProgress() method instead.', E_USER_DEPRECATED);
  return $this
    ->getProgress();
}