File tree 1 file changed +3
-4
lines changed
components/console/helpers
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -299,12 +299,11 @@ Custom Messages
299
299
~~~~~~~~~~~~~~~
300
300
301
301
If you want to show some fixed text or generic message, you can define custom
302
- placeholders to be displayed with the progress bar, after defining them in a
303
- custom format .
302
+ placeholders in a custom format to be displayed with the progress bar, and use
303
+ them afterwards .
304
304
305
305
By default, the ``setMessage() `` method implies ``message `` as the name of the
306
- placeholder, but if you need more than one, you have just to just define your
307
- own::
306
+ placeholder, but if you need more than one, you have just to define your own::
308
307
309
308
$progressBar = new ProgressBar($output, 100);
310
309
$progressBar->setFormatDefinition('custom', ' %current%/%max% -- %message% %filename%');
You can’t perform that action at this time.
0 commit comments