@@ 55-77 (lines=23) @@ | ||
52 | /** |
|
53 | * Execute the console command. |
|
54 | */ |
|
55 | public function handle() |
|
56 | { |
|
57 | $this->processOptions(); |
|
58 | ||
59 | //Publish |
|
60 | $this->publishHomeController(); |
|
61 | $this->changeRegisterController(); |
|
62 | $this->changeLoginController(); |
|
63 | $this->changeForgotPasswordController(); |
|
64 | $this->publishNoGuestForgotPasswordController(); |
|
65 | $this->changeResetPasswordController(); |
|
66 | $this->publishPublicAssets(); |
|
67 | $this->publishViews(); |
|
68 | $this->publishResourceAssets(); |
|
69 | $this->publishTests(); |
|
70 | $this->publishLanguages(); |
|
71 | $this->publishGravatar(); |
|
72 | $this->publishConfig(); |
|
73 | $this->publishWebRoutes(); |
|
74 | $this->publishApiRoutes(); |
|
75 | $this->publishDusk(); |
|
76 | $this->publishDatabaseConfig(); |
|
77 | } |
|
78 | ||
79 | /** |
|
80 | * Install Home Controller. |
@@ 85-109 (lines=25) @@ | ||
82 | /** |
|
83 | * Bootstrap the application services. |
|
84 | */ |
|
85 | public function boot() |
|
86 | { |
|
87 | $this->defineRoutes(); |
|
88 | ||
89 | //Publish |
|
90 | $this->publishHomeController(); |
|
91 | $this->changeRegisterController(); |
|
92 | $this->changeLoginController(); |
|
93 | $this->changeForgotPasswordController(); |
|
94 | $this->publishNoGuestForgotPasswordController(); |
|
95 | $this->changeResetPasswordController(); |
|
96 | $this->publishPublicAssets(); |
|
97 | $this->publishViews(); |
|
98 | $this->publishResourceAssets(); |
|
99 | $this->publishTests(); |
|
100 | $this->publishLanguages(); |
|
101 | $this->publishGravatar(); |
|
102 | $this->publishConfig(); |
|
103 | $this->publishWebRoutes(); |
|
104 | $this->publishApiRoutes(); |
|
105 | $this->publishDusk(); |
|
106 | $this->publishDatabaseConfig(); |
|
107 | ||
108 | $this->enableSpatieMenu(); |
|
109 | } |
|
110 | ||
111 | /** |
|
112 | * Define the AdminLTETemplate routes. |