public function ProgressBar::setCurrent in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/console/Helper/ProgressBar.php \Symfony\Component\Console\Helper\ProgressBar::setCurrent()
Sets the current progress.
Parameters
int $step The current progress:
Throws
\LogicException
Deprecated
since version 2.6, to be removed in 3.0. Use {@link setProgress()} instead.
File
- vendor/
symfony/ console/ Helper/ ProgressBar.php, line 365
Class
- ProgressBar
- The ProgressBar provides helpers to display progress output.
Namespace
Symfony\Component\Console\HelperCode
public function setCurrent($step) {
@trigger_error('The ' . __METHOD__ . ' method is deprecated since version 2.6 and will be removed in 3.0. Use the setProgress() method instead.', E_USER_DEPRECATED);
$this
->setProgress($step);
}