Example #1
0
 /**
  * Get the console command options.
  *
  * @return array
  */
 protected function getOptions()
 {
     return array_merge([['direction', 'd', InputOption::VALUE_OPTIONAL, 'The direction of ordering.', 'asc'], ['fkCheck', null, InputOption::VALUE_OPTIONAL, 'Enable or disable "FOREIGN_KEY_CHECKS".', false]], parent::getOptions());
 }
 /**
  * Get the options.
  *
  * @return array
  */
 protected function getOptions()
 {
     return array_merge(parent::getOptions(), [['addon', null, InputOption::VALUE_OPTIONAL, 'The addon to seed.']]);
 }
 /**
  * Get the console command options.
  *
  * @return array
  */
 protected function getOptions()
 {
     $options = [['language', null, InputOption::VALUE_REQUIRED, 'Seed the specified language file.']];
     return array_merge($options, parent::getOptions());
 }
Example #4
0
 /**
  * Get the console command options.
  *
  * @return array
  */
 protected function getOptions()
 {
     return array_merge(array(array('country', null, InputOption::VALUE_REQUIRED, 'Seed a specific country instead.'), array('path', null, InputOption::VALUE_REQUIRED, 'Path where files are located.')), parent::getOptions());
 }
Example #5
0
 /**
  * @return array
  */
 protected function getOptions()
 {
     return array_merge(parent::getOptions(), $this->getTenantOption());
 }