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