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:
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
+ .. 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
+
98
118
Customize Placeholders
99
119
~~~~~~~~~~~~~~~~~~~~~~
100
120
You can’t perform that action at this time.
0 commit comments