/** * Show prompt to ask user. * * @param string $msg Question. * @param string $default Default value. * * @return string The value that use input. * * @since 2.0 */ public function ask($msg = '', $default = null) { $this->io->out()->out($this->renderList()); return parent::ask($msg, $default); }
/** * Show prompt to ask user. * * @param string $msg Question. * @param string $default Default value. * * @return string The value that use input. * * @since 1.0 */ public function ask($msg = '', $default = null) { $this->output->out("\n\n" . $this->renderList()); return parent::ask($msg, $default); }