| Conditions | 2 |
| Paths | 2 |
| Total Lines | 18 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 13 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | 11 | public function boot() |
|
| 10 | { |
||
| 11 | 11 | $this->loadTranslationsFrom(__DIR__.'/../resources/lang', 'periodic-notice'); |
|
| 12 | |||
| 13 | 11 | if ($this->app->runningInConsole()) { |
|
| 14 | 11 | $this->publishes([ |
|
| 15 | 11 | __DIR__.'/../config/periodic-notice.php' => config_path('periodic-notice.php'), |
|
| 16 | 11 | ], 'config'); |
|
| 17 | 11 | $this->publishes([ |
|
| 18 | 11 | __DIR__.'/../resources/lang' => resource_path('lang/vendor/periodic-notice'), |
|
| 19 | 11 | ], 'lang'); |
|
| 20 | |||
| 21 | |||
| 22 | 11 | $this->commands([ |
|
| 23 | 11 | SendPeriodicalNotificationsBatch::class, |
|
| 24 | 11 | ]); |
|
| 25 | |||
| 26 | 11 | $this->registerMigrations(); |
|
| 27 | } |
||
| 50 |