1 | <?php |
||
10 | class PublishMigrationCommand extends Command |
||
11 | { |
||
12 | /** |
||
13 | * The console command name. |
||
14 | * |
||
15 | * @var string |
||
16 | */ |
||
17 | protected $name = 'module:publish-migration'; |
||
18 | |||
19 | /** |
||
20 | * The console command description. |
||
21 | * |
||
22 | * @var string |
||
23 | */ |
||
24 | protected $description = "Publish a module's migrations to the application"; |
||
25 | |||
26 | /** |
||
27 | * Execute the console command. |
||
28 | */ |
||
29 | 1 | public function handle() |
|
45 | |||
46 | /** |
||
47 | * Publish migration for the specified module. |
||
48 | * |
||
49 | * @param \Nwidart\Modules\Module $module |
||
50 | */ |
||
51 | 1 | public function publish($module) |
|
58 | |||
59 | /** |
||
60 | * Get the console command arguments. |
||
61 | * |
||
62 | * @return array |
||
63 | */ |
||
64 | 99 | protected function getArguments() |
|
70 | } |
||
71 |