You are here

protected function FooCommand::interact in Zircon Profile 8

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

Class

FooCommand

Code

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