File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
components/console/helpers Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -95,6 +95,26 @@ The progress indicator will now look like this:
9595 ⠹ Processing...
9696 ⢸ Processing...
9797
98+ Custom Finished Indicator
99+ ~~~~~~~~~~~~~~~~~~~~~~~~~
100+
101+ Once the progress indicator is finished, it keeps by default the latest indicator value. You can replace it with a your own::
102+
103+ $progressIndicator->finish('Finished', '✅');
104+
105+ Then the progress indicator will render like this:
106+
107+ .. code-block :: text
108+
109+ ⠏ Processing...
110+ ⠛ Processing...
111+ ✅ Finished
112+
113+ .. versionadded :: 7.2
114+
115+ The ``finishedIndicator `` parameter for method ``finish() `` was introduced in Symfony 7.2.
116+
117+
98118Customize Placeholders
99119~~~~~~~~~~~~~~~~~~~~~~
100120
You can’t perform that action at this time.
0 commit comments