Skip to content

Commit b50ab55

Browse files
committed
$Add an explanation about the array of inputs
1 parent 096308f commit b50ab55

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

components/console/helpers/questionhelper.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,3 +301,5 @@ from the command line, you need to set the inputs like this::
301301
By calling :method:`CommandTester::setInputs`, you imitate what the console would
302302
do internally with all user input through the CLI. This way you can test any
303303
user interaction (even complex ones) by passing the appropriate inputs.
304+
Once the command requests an input, the ``QuestionHelper`` will try to find it.
305+
The inputs will be consumed at the moment, in the same order as you given them.

0 commit comments

Comments
 (0)