File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
components/console/helpers Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -95,6 +95,28 @@ The progress indicator will now look like this:
95
95
⠹ Processing...
96
96
⢸ Processing...
97
97
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
+ The progress indicator will now look like this:
108
+
109
+ .. code-block :: text
110
+
111
+ ⠏ Processing...
112
+ ⠛ Processing...
113
+ ✅ Finished
114
+
115
+ .. versionadded :: 7.2
116
+
117
+ The ``finishedIndicator `` parameter for method ``finish() `` were introduced in Symfony 7.2.
118
+
119
+
98
120
Customize Placeholders
99
121
~~~~~~~~~~~~~~~~~~~~~~
100
122
You can’t perform that action at this time.
0 commit comments