protected function confirm($sQuestion, $bDefault)
    {
        $sQuestion = is_array($sQuestion) ? implode("\n", $sQuestion) : $sQuestion;
        $oHelper   = $this->getHelper('question');
        $sDefault  = (bool) $bDefault ? 'Y' : 'N';
        $oQuestion = new ConfirmationQuestion($sQuestion . ' [' . $sDefault . ']: ', $bDefault);

        return $oHelper->ask($this->oInput, $this->oOutput, $oQuestion);
    }
protected function confirm($sQuestion, $bDefault)
    {
        $sQuestion = is_array($sQuestion) ? implode("\n", $sQuestion) : $sQuestion;
        $oHelper   = $this->getHelper('question');
        $sDefault  = (bool) $bDefault ? 'Y' : 'N';
        $oQuestion = new ConfirmationQuestion($sQuestion . ' [' . $sDefault . ']: ', $bDefault);

        return $oHelper->ask($this->oInput, $this->oOutput, $oQuestion);
    }
protected function confirm ( $ sQuestion , $ bDefault ) { $ sQuestion = is_array ( $ sQuestion ) ? implode ( "\n" , $ sQuestion ) : $ sQuestion ; $ oHelper = $ this -> getHelper ( 'question' ) ; $ sDefault = ( bool ) $ bDefault ? 'Y' : 'N' ; $ oQuestion = new ConfirmationQuestion ( $ sQuestion . ' [' . $ sDefault . ']: ' , $ bDefault ) ; return $ oHelper -> ask ( $ this -> oInput , $ this -> oOutput , $ oQuestion ) ; }
Confirms something with the user

@param string  $sQuestion The question to confirm
@param boolean $bDefault  The default answer

@return string
Confirms something with the user