function TraceableCommand::interact
Overrides Command::interact
File
-
vendor/
symfony/ console/ Command/ TraceableCommand.php, line 314
Class
- TraceableCommand
- @internal
Namespace
Symfony\Component\Console\CommandCode
protected function interact(InputInterface $input, OutputInterface $output) : void {
if (!($this->isInteractive = Command::class !== (new \ReflectionMethod($this->command, 'interact'))
->getDeclaringClass()
->getName())) {
return;
}
$event = $this->stopwatch
->start($this->getName() . '.interact', 'command');
$this->command
->interact($input, $output);
$event->stop();
}