[Console] Added a little explaination about Command#interact()

This commit is contained in:
Wouter J 2015-02-14 14:55:30 +01:00 committed by Fabien Potencier
parent f77d710881
commit 38e7b72371
1 changed files with 4 additions and 0 deletions

View File

@ -175,6 +175,10 @@ class Command
/**
* 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 OutputInterface $output An OutputInterface instance
*/