public function askConfirmation($question, $default = true)
{
$lines = array();
$lines[] = '<question>' . str_repeat(' ', $this->getBlockWidth()) . "</question>";
foreach (explode("\n", wordwrap($question, $this->getBlockWidth() - 4, "\n", true)) as $line) {
$lines[] = '<question> ' . str_pad($line, $this->getBlockWidth() - 2) . '</question>';
}
$lines[] = '<question>' . str_repeat(' ', $this->getBlockWidth() - 8) . '</question> <value>' . ($default ? '[Y/n]' : '[y/N]') . '</value> ';
$formattedQuestion = implode("\n", $lines) . "\n";
return $this->prompter->askConfirmation($formattedQuestion, $default);
}