original_string: public function confirm($text, $default = false)
      {
          $helper = $this->getHelper('question');
          //
          $question = new ConfirmationQuestion($this->console->question($text.' '), $default);
          //
          return $helper->ask($this->input, $this->output, $question);
      }
code: public function confirm($text, $default = false)
      {
          $helper = $this->getHelper('question');
          //
          $question = new ConfirmationQuestion($this->console->question($text.' '), $default);
          //
          return $helper->ask($this->input, $this->output, $question);
      }
code_tokens: public function confirm ( $ text , $ default = false ) { $ helper = $ this -> getHelper ( 'question' ) ; // $ question = new ConfirmationQuestion ( $ this -> console -> question ( $ text . ' ' ) , $ default ) ; // return $ helper -> ask ( $ this -> input , $ this -> output , $ question ) ; }
docstring: ask user for confirmation.
docstring_tokens: ask user for confirmation .