/** * Confirm a question with the user. * * @param string $question * @param bool $default * @return bool */ public function confirm($question, $default = true) { $question .= $default ? ' [Yn]' : ' [yN]'; return parent::confirm($question, $default); }
public function __construct() { parent::__construct(); $this->setAliases(array('repl')); }
/** * {@inheritdoc} */ public function __construct() { $this->name = 'create:field:' . $this->getFieldtype(); parent::__construct(); }