1 | <?php |
||
11 | class InstallPwa extends Command |
||
12 | { |
||
13 | /** |
||
14 | * The console command name. |
||
15 | * |
||
16 | * @var string |
||
17 | */ |
||
18 | protected $name = 'pwa:install'; |
||
19 | /** |
||
20 | * The console command description. |
||
21 | * |
||
22 | * @var string |
||
23 | */ |
||
24 | protected $description = 'Install the Laravel PWA'; |
||
25 | /** |
||
26 | * The database Seeder Path. |
||
27 | * |
||
28 | * @var string |
||
29 | */ |
||
30 | protected $seedersPath = __DIR__.'/../../database/seeds/'; |
||
31 | |||
32 | /** |
||
33 | * Get Option. |
||
34 | * |
||
35 | * @return array |
||
36 | */ |
||
37 | protected function getOptions() |
||
43 | |||
44 | /** |
||
45 | * Get the composer command for the environment. |
||
46 | * |
||
47 | * @return string |
||
48 | */ |
||
49 | protected function findComposer() |
||
57 | |||
58 | /** |
||
59 | * Execute the console command. |
||
60 | * |
||
61 | * @param \Illuminate\Filesystem\Filesystem $filesystem |
||
62 | * |
||
63 | * @return void |
||
64 | */ |
||
65 | public function handle(Filesystem $filesystem) |
||
101 | } |
||
102 |