We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 795148e commit 861a096Copy full SHA for 861a096
components/console/helpers/progressindicator.rst
@@ -95,6 +95,26 @@ The progress indicator will now look like this:
95
⠹ Processing...
96
⢸ Processing...
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
118
Customize Placeholders
119
~~~~~~~~~~~~~~~~~~~~~~
120
0 commit comments