File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -165,6 +165,14 @@ Content Methods
165
165
['foo4' => 'bar4']
166
166
);
167
167
168
+ :method: `Symfony\\ Component\\ Console\\ Style\\ SymfonyStyle::createTable `
169
+ Creates an instance of :class: `Symfony\\ Component\\ Console\\ Helper\\ Table `
170
+ styled according to the Symfony Style Guide.
171
+
172
+ .. versionadded :: 5.4
173
+
174
+ The ``createTable() `` method was introduced in Symfony 5.4.
175
+
168
176
:method: `Symfony\\ Component\\ Console\\ Style\\ SymfonyStyle::newLine `
169
177
It displays a blank line in the command output. Although it may seem useful,
170
178
most of the times you won't need it at all. The reason is that every helper
@@ -243,6 +251,24 @@ Progress Bar Methods
243
251
244
252
$io->progressFinish();
245
253
254
+ :method: `Symfony\\ Component\\ Console\\ Style\\ SymfonyStyle::progressIterate `
255
+ If your progress bar loops over an iterable collection, use the
256
+ ``progressIterate() `` helper::
257
+
258
+ $iterable = [1, 2];
259
+
260
+ foreach ($io->progressIterate($iterable) as $value) {
261
+ // ... do some work
262
+ }
263
+
264
+ .. versionadded :: 5.4
265
+
266
+ The ``progressIterate `` method was introduced in Symfony 5.4.
267
+
268
+ :method: `Symfony\\ Component\\ Console\\ Style\\ SymfonyStyle::createProgressBar `
269
+ Creates an instance of :class: `Symfony\\ Component\\ Console\\ Helper\\ ProgressBar `
270
+ styled according to the Symfony Style Guide.
271
+
246
272
User Input Methods
247
273
~~~~~~~~~~~~~~~~~~
248
274
You can’t perform that action at this time.
0 commit comments