File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -301,7 +301,7 @@ to display it can be customized::
301
301
302
302
.. caution ::
303
303
304
- For performance reasons, Symfony redraws screen every 100ms. If this is too
304
+ For performance reasons, Symfony redraws the screen once every 100ms. If this is too
305
305
fast or to slow for your application, use the methods
306
306
:method: `Symfony\\ Component\\ Console\\ Helper\\ ProgressBar::minSecondsBetweenRedraws ` and
307
307
:method: `Symfony\\ Component\\ Console\\ Helper\\ ProgressBar::maxSecondsBetweenRedraws `::
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ option is the default one.
123
123
If the user enters an invalid string, an error message is shown and the user
124
124
is asked to provide the answer another time, until they enter a valid string
125
125
or reach the maximum number of attempts. The default value for the maximum number
126
- of attempts is ``null ``, which means infinite number of attempts. You can define
126
+ of attempts is ``null ``, which means an infinite number of attempts. You can define
127
127
your own error message using
128
128
:method: `Symfony\\ Component\\ Console\\ Question\\ ChoiceQuestion::setErrorMessage `.
129
129
@@ -367,7 +367,7 @@ was successful.
367
367
You can set the max number of times to ask with the
368
368
:method: `Symfony\\ Component\\ Console\\ Question\\ Question::setMaxAttempts ` method.
369
369
If you reach this max number it will use the default value. Using ``null `` means
370
- the amount of attempts is infinite. The user will be asked as long as they provide an
370
+ the number of attempts is infinite. The user will be asked as long as they provide an
371
371
invalid answer and will only be able to proceed if their input is valid.
372
372
373
373
Validating a Hidden Response
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ The output of this command will be:
147
147
| 99921 | Divine Com | Dante Alighieri |
148
148
| -58-1 | edy | |
149
149
| 0-7 | | |
150
- | (the rest of rows...) |
150
+ | (the rest of the rows...) |
151
151
+-------+------------+--------------------------------+
152
152
153
153
The table style can be changed to any built-in styles via
@@ -350,7 +350,7 @@ This outputs:
350
350
| 978-0804169127 | Divine Comedy | spans multiple rows |
351
351
+----------------+---------------+---------------------+
352
352
353
- You can use the ``colspan `` and ``rowspan `` options at the same time which allows
353
+ You can use the ``colspan `` and ``rowspan `` options at the same time, which allows
354
354
you to create any table layout you may wish.
355
355
356
356
.. _console-modify-rendered-tables :
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ Building a single Command Application
5
5
=====================================
6
6
7
7
When building a command line tool, you may not need to provide several commands.
8
- In such case, having to pass the command name each time is tedious. Fortunately,
8
+ In such a case, having to pass the command name each time is tedious. Fortunately,
9
9
it is possible to remove this need by declaring a single command application::
10
10
11
11
#!/usr/bin/env php
@@ -30,7 +30,7 @@ it is possible to remove this need by declaring a single command application::
30
30
->run();
31
31
32
32
The :method: `Symfony\\ Component\\ Console\\ Application::setDefaultCommand ` method
33
- accepts a boolean as second parameter. If true, the command ``echo `` will then
33
+ accepts a boolean as the second parameter. If true, the command ``echo `` will then
34
34
always be used, without having to pass its name.
35
35
36
36
You can still register a command as usual::
You can’t perform that action at this time.
0 commit comments