You are here

protected function TestCommand::interact in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Tests/Fixtures/TestCommand.php \TestCommand::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.

Parameters

InputInterface $input An InputInterface instance:

OutputInterface $output An OutputInterface instance:

Overrides Command::interact

File

vendor/symfony/console/Tests/Fixtures/TestCommand.php, line 24

Class

TestCommand

Code

protected function interact(InputInterface $input, OutputInterface $output) {
  $output
    ->writeln('interact called');
}