function Command::interact
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.
Return value
void
1 call to Command::interact()
- Command::run in vendor/
symfony/ console/ Command/ Command.php - Runs the command.
5 methods override Command::interact()
- ExecCommand::interact in vendor/
composer/ composer/ src/ Composer/ Command/ ExecCommand.php - Interacts with the user.
- InitCommand::interact in vendor/
composer/ composer/ src/ Composer/ Command/ InitCommand.php - @inheritDoc
- RequireCommand::interact in vendor/
composer/ composer/ src/ Composer/ Command/ RequireCommand.php - Interacts with the user.
- RunScriptCommand::interact in vendor/
composer/ composer/ src/ Composer/ Command/ RunScriptCommand.php - Interacts with the user.
- TraceableCommand::interact in vendor/
symfony/ console/ Command/ TraceableCommand.php - Interacts with the user.
File
-
vendor/
symfony/ console/ Command/ Command.php, line 197
Class
- Command
- Base class for all commands.
Namespace
Symfony\Component\Console\CommandCode
protected function interact(InputInterface $input, OutputInterface $output) {
}