| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 32 | public function register() |
||
| 33 | { |
||
| 34 | $this->app->register(MailEventServiceProvider::class); |
||
| 35 | $this->app->register(MailPolicyServiceProvider::class); |
||
| 36 | |||
| 37 | // Automatically apply the package configuration |
||
| 38 | $this->mergeConfigFrom(__DIR__.'/../config/config.php', 'mail-log'); |
||
| 39 | |||
| 40 | // Register the main class to use with the facade |
||
| 41 | $this->app->singleton('laravel-mail-log', function () { |
||
| 42 | return new LaravelMailLog; |
||
| 43 | }); |
||
| 46 |