minor #13691 [Console] Added a little explaination about Command#interact() (WouterJ)
This PR was squashed before being merged into the 2.3 branch (closes #13691).
Discussion
----------
[Console] Added a little explaination about Command#interact()
This has confused some long time Symfony users recently: https://twitter.com/jmolivas/status/566283453264850945
| Q | A
| ------------- | ---
| Fixed tickets | -
| License | MIT
Commits
-------
38e7b72
[Console] Added a little explaination about Command#interact()
This commit is contained in:
commit
90b028bea7
@ -175,6 +175,10 @@ class Command
|
|||||||
/**
|
/**
|
||||||
* Interacts with the user.
|
* Interacts with the user.
|
||||||
*
|
*
|
||||||
|
* This method is executed before the InputDefinition is validated.
|
||||||
|
* This means that this is the only place where the command can
|
||||||
|
* interactively ask for values of missing required arguments.
|
||||||
|
*
|
||||||
* @param InputInterface $input An InputInterface instance
|
* @param InputInterface $input An InputInterface instance
|
||||||
* @param OutputInterface $output An OutputInterface instance
|
* @param OutputInterface $output An OutputInterface instance
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user