@@ -296,16 +296,16 @@ convenient for passwords::
296
296
$dialog = $this->getHelperSet()->get('dialog');
297
297
$password = $dialog->askHiddenResponse(
298
298
$output,
299
- 'What is the database password ?',
299
+ 'What is the database password?',
300
300
false
301
301
);
302
302
303
303
.. caution ::
304
304
305
- When you ask an hidden response, Symfony will use either a binary, change
305
+ When you ask for a hidden response, Symfony will use either a binary, change
306
306
stty mode or use another trick to hide the response. If none is available,
307
- it will fallback on the classic question unless you pass ``false `` as the
308
- third argument like in the example above. In this case, a RuntimeException
307
+ it will fallback and allow the response to be visible unless you pass ``false ``
308
+ as the third argument like in the example above. In this case, a RuntimeException
309
309
would be thrown.
310
310
311
311
Ask and validate response
@@ -336,7 +336,7 @@ fifth argument is the default value.
336
336
.. versionadded :: 2.2
337
337
The ``askHiddenResponseAndValidate `` method was added in Symfony 2.2.
338
338
339
- You can also ask and validate hidden response::
339
+ You can also ask and validate a hidden response::
340
340
341
341
$dialog = $this->getHelperSet()->get('dialog');
342
342
@@ -354,8 +354,8 @@ You can also ask and validate hidden response::
354
354
false
355
355
);
356
356
357
- If you want to fallback on classic question in case hidden response can not be
358
- provided , pass true as fifth argument.
357
+ If you want to allow the response to be visible if it cannot be hidden for
358
+ some reason , pass true as the fifth argument.
359
359
360
360
Displaying a Progress Bar
361
361
-------------------------
0 commit comments