New in Symfony 4.3: Iterable progress bars

Contributed by Jérôme Vasseur in #29753. The common workflow for Symfony Console progress bars is to start them, advance them according to your task progress and finish them: 1 2 3 4 5 6 7 8 9 10 use Symfony\Component\Console\Helper\ProgressBar; $progressBar = new ProgressBar($output); $progressBar->start(); // … do some work $progressBar->advance(); // needed to ensure…