public function reprompt(string $text)
    {
        $outputSpeech = OutputSpeech::createByText($text);
        $reprompt     = new Reprompt($outputSpeech);

        $this->responseBody->reprompt = $reprompt;

        return $this->response;
    }
public function reprompt(string $text)
    {
        $outputSpeech = OutputSpeech::createByText($text);
        $reprompt     = new Reprompt($outputSpeech);

        $this->responseBody->reprompt = $reprompt;

        return $this->response;
    }
public function reprompt ( string $ text ) { $ outputSpeech = OutputSpeech :: createByText ( $ text ) ; $ reprompt = new Reprompt ( $ outputSpeech ) ; $ this -> responseBody -> reprompt = $ reprompt ; return $ this -> response ; }
Add a plaintext reprompt to response.

@param string $text

@return Response
Add a plaintext reprompt to response .