1 | <?php |
||
11 | class UptimeMonitorServiceProvider extends ServiceProvider |
||
12 | { |
||
13 | /** |
||
14 | * Bootstrap the application services. |
||
15 | */ |
||
16 | public function boot() |
||
17 | { |
||
18 | if ($this->app->runningInConsole()) { |
||
19 | $this->loadMigrationsFrom(__DIR__ . '/../database/migrations'); |
||
20 | |||
21 | $this->publishes([ |
||
22 | __DIR__ . '/../config/laravel-backup.php' => config_path('laravel-backup.php'), |
||
23 | ], 'config'); |
||
24 | } |
||
25 | } |
||
26 | |||
27 | /** |
||
28 | * Register the application services. |
||
29 | */ |
||
30 | public function register() |
||
48 | } |
||
49 |