src/Console/ChatCommand.php
protected function waitForUserInput(InputInterface $input, OutputInterface $output)
    {
        $helper   = $this->getHelper('question');
        $question = new Question('<info>You > </info>');

        $message = $helper->ask($input, $output, $question);

        $this->listenForConsoleCommands($input, $output, $message);

        $this->getBotResponse($input, $output, $message);
    }
protected function waitForUserInput(InputInterface $input, OutputInterface $output)
    {
        $helper   = $this->getHelper('question');
        $question = new Question('<info>You > </info>');

        $message = $helper->ask($input, $output, $question);

        $this->listenForConsoleCommands($input, $output, $message);

        $this->getBotResponse($input, $output, $message);
    }
protected function waitForUserInput ( InputInterface $ input , OutputInterface $ output ) { $ helper = $ this -> getHelper ( 'question' ) ; $ question = new Question ( '<info>You > </info>' ) ; $ message = $ helper -> ask ( $ input , $ output , $ question ) ; $ this -> listenForConsoleCommands ( $ input , $ output , $ message ) ; $ this -> getBotResponse ( $ input , $ output , $ message ) ; }
Wait and listen for user input.

@param  InputInterface  $input
@param  OutputInterface  $output
@return null
Wait and listen for user input .