1 | <?php namespace FreedomCore\TrinityCore\Character\Commands; |
||
12 | class InstallCommand extends Command |
||
13 | { |
||
14 | use Seedable; |
||
15 | |||
16 | /** |
||
17 | * Path containing database seeds |
||
18 | * @var string |
||
19 | */ |
||
20 | protected $seedersPath = __DIR__ . '/../../publishable/database/seeds'; |
||
21 | |||
22 | /** |
||
23 | * The console command name. |
||
24 | * @var string |
||
25 | */ |
||
26 | protected $name = 'character:install'; |
||
27 | |||
28 | /** |
||
29 | * The console command description. |
||
30 | * @var string |
||
31 | */ |
||
32 | protected $description = 'Install Laravel Character Package.'; |
||
33 | |||
34 | /** |
||
35 | * Fire Installation |
||
36 | * @return mixed |
||
37 | */ |
||
38 | public function fire() |
||
42 | |||
43 | /** |
||
44 | * Handle Installation |
||
45 | */ |
||
46 | public function handle() |
||
53 | |||
54 | /** |
||
55 | * Find suitable composer executable. |
||
56 | * @return string |
||
57 | */ |
||
58 | protected function findComposer() : string |
||
65 | } |
||
66 |