Skip to content

Commit c09e4a4

Browse files
authored
Added versionadded directive for the setInputs method
1 parent 9435c92 commit c09e4a4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

components/console/helpers/questionhelper.rst

+3
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,9 @@ from the command line, you need to set the inputs that the command expects::
338338
// $this->assertRegExp('/.../', $commandTester->getDisplay());
339339
}
340340

341+
.. versionadded:: 3.2
342+
The ``CommandTester::setInputs()`` method was introduced in Symfony 3.2.
343+
341344
By calling :method:`Symfony\\Component\\Console\\Tester\\CommandTester::setInputs`,
342345
you imitate what the console would do internally with all user input through the CLI.
343346
This method takes an array as only argument with, for each input that the command expects,

0 commit comments

Comments
 (0)