コード例 #1
0
ファイル: StatusCommand.php プロジェクト: lulco/phoenix
 protected function configure()
 {
     $this->setName('status')->setDescription('List of migrations already executed and list of migrations to execute');
     parent::configure();
 }
コード例 #2
0
ファイル: AbstractRunCommand.php プロジェクト: lulco/phoenix
 protected function configure()
 {
     $this->addOption('dry', null, InputOption::VALUE_NONE, 'Only print queries, no execution');
     parent::configure();
 }
コード例 #3
0
ファイル: InitCommand.php プロジェクト: lulco/phoenix
 protected function configure()
 {
     $this->setName('init')->setDescription('Initialize phoenix');
     parent::configure();
 }
コード例 #4
0
ファイル: CleanupCommand.php プロジェクト: lulco/phoenix
 protected function configure()
 {
     $this->setName('cleanup')->setDescription('Rollback all migrations and delete log table');
     parent::configure();
 }
コード例 #5
0
ファイル: CreateCommand.php プロジェクト: lulco/phoenix
 protected function configure()
 {
     parent::configure();
     $this->setName('create')->setDescription('Create migration')->addArgument('migration', InputArgument::REQUIRED, 'Name of migration')->addArgument('dir', InputArgument::OPTIONAL, 'Directory to create migration in')->addOption('template', null, InputOption::VALUE_OPTIONAL, 'Path to template');
 }