1 | <?php |
||
10 | class AdminLTE extends Command |
||
11 | { |
||
12 | /** |
||
13 | * The name and signature of the console command. |
||
14 | */ |
||
15 | protected $signature = 'adminlte-laravel:install'; |
||
16 | |||
17 | /** |
||
18 | * The console command description. |
||
19 | * |
||
20 | * @var string |
||
21 | */ |
||
22 | protected $description = 'Install Acacha AdminLTE Template into fresh laravel project'; |
||
23 | |||
24 | /** |
||
25 | * Execute the console command. |
||
26 | * |
||
27 | * @return mixed |
||
28 | */ |
||
29 | public function handle() |
||
37 | |||
38 | /** |
||
39 | * Install Home Controller. |
||
40 | */ |
||
41 | private function installHomeController() |
||
45 | |||
46 | /** |
||
47 | * Install Auth controller. |
||
48 | */ |
||
49 | private function installAuthController() |
||
53 | |||
54 | /** |
||
55 | * Install public assets. |
||
56 | */ |
||
57 | private function installPublicAssets() |
||
61 | |||
62 | /** |
||
63 | * Install views. |
||
64 | */ |
||
65 | private function installViews() |
||
69 | |||
70 | /** |
||
71 | * Install resource assets. |
||
72 | */ |
||
73 | private function installResourceAssets() |
||
77 | |||
78 | /** |
||
79 | * Install files from array. |
||
80 | * |
||
81 | * @param $files |
||
82 | */ |
||
83 | private function install($files) |
||
89 | } |
||
90 |