| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 13 | public function boot() |
||
| 14 | { |
||
| 15 | $this->loadMigrationsFrom(__DIR__.'/../database/migrations'); |
||
| 16 | |||
| 17 | if ($this->app->runningInConsole()) { |
||
| 18 | // Publishing the config. |
||
| 19 | $this->publishes([ |
||
| 20 | __DIR__.'/../config/config.php' => config_path('mail-log.php'), |
||
| 21 | ], 'maillog-config'); |
||
| 22 | |||
| 23 | $this->commands([ |
||
| 24 | ClearOldEmails::class, |
||
| 25 | ]); |
||
| 46 |