| 1 | <?php |
||
| 7 | class MigrateFileToDatabaseCommand extends Command |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * The console command name. |
||
| 11 | * |
||
| 12 | * @var string |
||
| 13 | */ |
||
| 14 | protected $name = 'module:migrate-to-database'; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * The console command description. |
||
| 18 | * |
||
| 19 | * @var string |
||
| 20 | */ |
||
| 21 | protected $description = 'Migrate all modules to database management.'; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Execute the console command. |
||
| 25 | */ |
||
| 26 | public function handle(): int |
||
| 38 | |||
| 39 | /** |
||
| 40 | * Get the console command options. |
||
| 41 | * |
||
| 42 | * @return array |
||
| 43 | */ |
||
| 44 | protected function getOptions() |
||
| 48 | } |
||
| 49 |