We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb0e79c commit f3ef9dcCopy full SHA for f3ef9dc
components/console/helpers/progressbar.rst
@@ -290,7 +290,7 @@ create your own. Let's see how you can create a ``remaining_steps`` placeholder
290
that displays the number of remaining steps::
291
292
ProgressBar::setPlaceholderFormatterDefinition(
293
- '%remaining_steps%',
+ 'remaining_steps',
294
function (ProgressBar $bar, OutputInterface $output) {
295
return $bar->getMaxSteps() - $bar->getStep();
296
}
0 commit comments