@@ -150,11 +150,12 @@ You can also ask and validate a hidden response::
150
150
If you want to allow the response to be visible if it cannot be hidden for
151
151
some reason, pass true as the fifth argument.
152
152
153
- Let the user choose from a list of answers
153
+ Let the user choose from a list of Answers
154
154
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
155
155
156
156
.. versionadded :: 2.2
157
- The ``select `` method was added in Symfony 2.2.
157
+ The :method: `Symfony\\ Component\\ Console\\ Helper\\ DialogHelper::select ` method
158
+ was added in Symfony 2.2.
158
159
159
160
If you have a predefined set of answers the user can choose from, you
160
161
could use the ``ask `` method described above or, to make sure the user
@@ -183,7 +184,7 @@ The option which should be selected by default is provided with the fourth
183
184
parameter. The default is ``null ``, which means that no option is the default one.
184
185
185
186
If the user enters an invalid string, an error message is shown and the user
186
- is asked to provide the answer another time, till he enters a valid string
187
+ is asked to provide the answer another time, until she enters a valid string
187
188
or the maximum attempts is reached (which you can define in the fifth
188
189
parameter). The default value for the attempts is ``false ``, which means infinite
189
190
attempts. You can define your own error message in the sixth parameter.
0 commit comments