@@ -10,6 +10,9 @@ Progress Helper
10
10
..versionadded ::2.3
11
11
The ``setCurrent `` method was added in Symfony 2.3.
12
12
13
+ ..versionadded ::2.4
14
+ The ``clear `` method was added in Symfony 2.4.
15
+
13
16
When executing longer-running commands, it may be helpful to show progress
14
17
information, which updates as your command runs:
15
18
@@ -37,6 +40,12 @@ pass it a total number of units, and advance the progress as your command execut
37
40
:method: `Symfony\\ Component\\ Console\\ Helper\\ ProgressHelper::setCurrent `
38
41
method.
39
42
43
+ If you want to output something while the progress bar is running,
44
+ call:method: `Symfony\\ Component\\ Console\\ Helper\\ ProgressHelper::clear ` first.
45
+ After you're done, call
46
+ :method: `Symfony\\ Component\\ Console\\ Helper\\ ProgressHelper::display `
47
+ to show the progress bar again.
48
+
40
49
The appearance of the progress output can be customized as well, with a number
41
50
of different levels of verbosity. Each of these displays different possible
42
51
items - like percentage completion, a moving progress bar, or current/total