protected function getFormattedListQuestion($question, $default, array $options)
    {
        $list = '';
        foreach ($options as $key => $title) {
            $list .= "  $key - $title".($default == $key ? ' (Default)' : '').PHP_EOL;
        }

        return $question.":\n".$list;
    }
protected function getFormattedListQuestion($question, $default, array $options)
    {
        $list = '';
        foreach ($options as $key => $title) {
            $list .= "  $key - $title".($default == $key ? ' (Default)' : '').PHP_EOL;
        }

        return $question.":\n".$list;
    }
protected function getFormattedListQuestion ( $ question , $ default , array $ options ) { $ list = '' ; foreach ( $ options as $ key => $ title ) { $ list .= "  $key - $title" . ( $ default == $ key ? ' (Default)' : '' ) . PHP_EOL ; } return $ question . ":\n" . $ list ; }
Get formatted "list" question

@param array      $question
@param string|int $default
@param array      $options
@return string
Get formatted list question