Ejemplo n.º 1
0
 /**
  * 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);
 }
Ejemplo n.º 2
0
 public function __construct()
 {
     parent::__construct();
     $this->setAliases(array('repl'));
 }
 /**
  * {@inheritdoc}
  */
 public function __construct()
 {
     $this->name = 'create:field:' . $this->getFieldtype();
     parent::__construct();
 }