| Conditions | 3 |
| Paths | 4 |
| Total Lines | 17 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | public function boot() |
||
| 10 | { |
||
| 11 | if ($this->app->runningInConsole()) { |
||
| 12 | $this->publishes([ |
||
| 13 | __DIR__.'/../config/appstore-server-notifications.php' => config_path('appstore-server-notifications.php'), |
||
| 14 | ], 'config'); |
||
| 15 | } |
||
| 16 | |||
| 17 | if (! class_exists('CreateAppleNotificationsTable')) { |
||
| 18 | $timestamp = date('Y_m_d_His', time()); |
||
| 19 | $this->publishes([ |
||
| 20 | __DIR__.'/../database/migrations/create_apple_notifications_table.php.stub' => database_path("migrations/{$timestamp}_create_apple_notifications_table.php"), |
||
| 21 | ], 'migrations'); |
||
| 22 | } |
||
| 23 | |||
| 24 | $this->loadRoutesFrom(__DIR__.'/routes.php'); |
||
| 25 | } |
||
| 26 | |||
| 32 |