Conditions | 3 |
Paths | 4 |
Total Lines | 21 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
12 | public function boot() |
||
13 | { |
||
14 | $this->loadViewsFrom(__DIR__ . '/../resources/views', 'verify-new-email'); |
||
15 | $this->loadMigrationsFrom(__DIR__ . '/../database/migrations'); |
||
16 | |||
17 | if (!config('verify-new-email.route')) { |
||
18 | $this->loadRoutesFrom(__DIR__ . '/routes.php'); |
||
19 | } |
||
20 | |||
21 | if ($this->app->runningInConsole()) { |
||
22 | $this->publishes([ |
||
23 | __DIR__ . '/../config/config.php' => config_path('verify-new-email.php'), |
||
24 | ], 'config'); |
||
25 | |||
26 | $this->publishes([ |
||
27 | __DIR__ . '/../resources/views' => resource_path('views/vendor/verify-new-email'), |
||
28 | ], 'views'); |
||
29 | |||
30 | // $this->commands([]); |
||
31 | } |
||
32 | } |
||
33 | |||
43 |