1 | <?php namespace Arcanesoft\Foundation\Console; |
||
11 | class InstallCommand extends Command |
||
12 | { |
||
13 | /* ----------------------------------------------------------------- |
||
14 | | Properties |
||
15 | | ----------------------------------------------------------------- |
||
16 | */ |
||
17 | |||
18 | /** |
||
19 | * The name and signature of the console command. |
||
20 | * |
||
21 | * @var string |
||
22 | */ |
||
23 | protected $signature = 'foundation:install'; |
||
24 | |||
25 | /** |
||
26 | * The console command description. |
||
27 | * |
||
28 | * @var string |
||
29 | */ |
||
30 | protected $description = 'Foundation install command.'; |
||
31 | |||
32 | /* ----------------------------------------------------------------- |
||
33 | | Main Methods |
||
34 | | ----------------------------------------------------------------- |
||
35 | */ |
||
36 | |||
37 | /** |
||
38 | * Execute the console command. |
||
39 | */ |
||
40 | public function handle() |
||
53 | |||
54 | /* ----------------------------------------------------------------- |
||
55 | | Other Methods |
||
56 | | ----------------------------------------------------------------- |
||
57 | */ |
||
58 | |||
59 | /** |
||
60 | * Publish all modules: configs, migrations, assets ... |
||
61 | */ |
||
62 | private function publishAllModules() |
||
73 | |||
74 | /** |
||
75 | * Refresh migrations. |
||
76 | */ |
||
77 | private function refreshMigrations() |
||
86 | |||
87 | /** |
||
88 | * Seed all modules. |
||
89 | */ |
||
90 | private function installModules() |
||
104 | } |
||
105 |