예제 #1
0
 /**
  * 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);
 }
예제 #2
0
 /**
  * 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);
 }