| Conditions | 1 |
| Paths | 1 |
| Total Lines | 17 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 30 | public function register() |
||
| 31 | { |
||
| 32 | // Automatically apply the package configuration |
||
| 33 | $this->mergeConfigFrom(__DIR__ . '/../config/config.php', 'notification-options'); |
||
| 34 | |||
| 35 | $this->app->make(NotificationController::class); |
||
| 36 | |||
| 37 | $this->publishes( |
||
| 38 | [ |
||
| 39 | __DIR__ . '/../resources/views' => resource_path('views/vendor/notification-options'), |
||
| 40 | ], 'views'); |
||
| 41 | |||
| 42 | // Register the main class to use with the facade |
||
| 43 | $this->app->singleton('notification-options', function () { |
||
| 44 | return new NotificationOptions; |
||
| 45 | }); |
||
| 46 | } |
||
| 47 | } |
||
| 48 |