src/Console/ChatCommand.php
protected function getBotResponse(InputInterface $input, OutputInterface $output, $message)
    {
        $bot      = 'Bot > ';
        $reply    = $this->rivescript->reply($message);
        $response = "<info>{$reply}</info>";

        $output->writeln($bot.$response);

        $this->waitForUserInput($input, $output);
    }
protected function getBotResponse(InputInterface $input, OutputInterface $output, $message)
    {
        $bot      = 'Bot > ';
        $reply    = $this->rivescript->reply($message);
        $response = "<info>{$reply}</info>";

        $output->writeln($bot.$response);

        $this->waitForUserInput($input, $output);
    }
protected function getBotResponse ( InputInterface $ input , OutputInterface $ output , $ message ) { $ bot = 'Bot > ' ; $ reply = $ this -> rivescript -> reply ( $ message ) ; $ response = "<info>{$reply}</info>" ; $ output -> writeln ( $ bot . $ response ) ; $ this -> waitForUserInput ( $ input , $ output ) ; }
Pass along user message to interpreter and fetch a reply.

@param  InputInterface  $input
@param  OutputInterface  $output
@param  string  $message
@return null
Pass along user message to interpreter and fetch a reply .