コード例 #1
0
ファイル: DbDrop.php プロジェクト: ksar/l5-db-commands
 /**
  * Get the console command options.
  *
  * @return array
  */
 protected function getOptions()
 {
     return array_merge(parent::getOptions(), [['no-interaction', 'n', InputOption::VALUE_NONE, 'Do not ask any interactive question.']]);
 }
コード例 #2
0
ファイル: DbDump.php プロジェクト: ksar/l5-db-commands
 /**
  * Get the console command options.
  *
  * @return array
  */
 protected function getOptions()
 {
     return array_merge(parent::getOptions(), [['data-only', null, InputOption::VALUE_NONE, 'Will dump only the data.']]);
 }