Skip to content

Commit

Permalink
$Add an explanation about the array of inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
chalasr committed Jun 18, 2016
1 parent 096308f commit b50ab55
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/console/helpers/questionhelper.rst
Original file line number Diff line number Diff line change
Expand Up @@ -301,3 +301,5 @@ from the command line, you need to set the inputs like this::
By calling :method:`CommandTester::setInputs`, you imitate what the console would
do internally with all user input through the CLI. This way you can test any
user interaction (even complex ones) by passing the appropriate inputs.
Once the command requests an input, the ``QuestionHelper`` will try to find it.
The inputs will be consumed at the moment, in the same order as you given them.

0 comments on commit b50ab55

Please sign in to comment.