public function writeConfirmPrompt($message, $yes, $no)
    {
        $this->writeLine();

        // write prompt badge
        $this->writeBadge('badge_pick', Color::RED);

        // output prompt
        $prompt = new Confirm(
            $this->translator->translate($message),
            $this->translator->translate($yes),
            $this->translator->translate($no)
        );

        $answer = $prompt->show();

        return $answer;
    }
public function writeConfirmPrompt($message, $yes, $no)
    {
        $this->writeLine();

        // write prompt badge
        $this->writeBadge('badge_pick', Color::RED);

        // output prompt
        $prompt = new Confirm(
            $this->translator->translate($message),
            $this->translator->translate($yes),
            $this->translator->translate($no)
        );

        $answer = $prompt->show();

        return $answer;
    }
public function writeConfirmPrompt ( $ message , $ yes , $ no ) { $ this -> writeLine ( ) ; // write prompt badge $ this -> writeBadge ( 'badge_pick' , Color :: RED ) ; // output prompt $ prompt = new Confirm ( $ this -> translator -> translate ( $ message ) , $ this -> translator -> translate ( $ yes ) , $ this -> translator -> translate ( $ no ) ) ; $ answer = $ prompt -> show ( ) ; return $ answer ; }
Write a customizable confirm prompt

@param string $message
@param string $yes
@param string $no

@return bool
Write a customizable confirm prompt