Skip to content

Commit 8a150a1

Browse files
committed
minor symfony#7571 Added versionadded directive for the setInputs method (wouterj)
This PR was merged into the 3.2 branch. Discussion ---------- Added versionadded directive for the setInputs method Commits ------- c09e4a4 Added versionadded directive for the setInputs method
2 parents 9435c92 + c09e4a4 commit 8a150a1

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)