1 | <?php namespace Modules\Core\Console; |
||
9 | class InstallCommand extends Command |
||
10 | { |
||
11 | use BlockMessage, SectionMessage; |
||
12 | |||
13 | /** |
||
14 | * The console command name. |
||
15 | * |
||
16 | * @var string |
||
17 | */ |
||
18 | protected $name = 'asgard:install'; |
||
19 | |||
20 | /** |
||
21 | * The console command description. |
||
22 | * |
||
23 | * @var string |
||
24 | */ |
||
25 | protected $description = 'Install Asgard CMS'; |
||
26 | |||
27 | /** |
||
28 | * @var Installer |
||
29 | */ |
||
30 | private $installer; |
||
31 | |||
32 | /** |
||
33 | * Create a new command instance. |
||
34 | * |
||
35 | * @param Installer $installer |
||
36 | * @internal param Filesystem $finder |
||
37 | * @internal param Application $app |
||
38 | * @internal param Composer $composer |
||
39 | */ |
||
40 | public function __construct(Installer $installer) |
||
46 | |||
47 | /** |
||
48 | * Execute the actions |
||
49 | * |
||
50 | * @return mixed |
||
51 | */ |
||
52 | public function fire() |
||
71 | |||
72 | protected function getOptions() |
||
78 | } |
||
79 |