Пример #1
0
 /**
  * {@inheritdoc}
  */
 public function configure()
 {
     parent::configure();
     $this->setDescription('Create a new migration')->addArgument('migration_name', InputArgument::REQUIRED, 'What is this migration supposed to do (use imperative voice)')->addOption('changeset', '', InputOption::VALUE_REQUIRED, 'Changeset name')->addOption('dry-run', '', InputOption::VALUE_NONE, "Example what you'll do, without creating an actual file");
 }
Пример #2
0
 /**
  * {@inheritdoc}
  */
 protected function configure()
 {
     parent::configure();
     $this->setDescription('Run all migrations that are not executed');
 }
Пример #3
0
 /**
  * {@inheritdoc}
  */
 protected function configure()
 {
     parent::configure();
     $this->setDescription('List all migrations');
 }