| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| 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-avstelecomsms.php', 'avstelecomsms'); |
||
| 34 | |||
| 35 | $this->app->singleton(Client::class, function () {
|
||
| 36 | new Client(); |
||
| 37 | }); |
||
| 38 | // Register the main class to use with the facade |
||
| 39 | Notification::resolved(function (ChannelManager $service) {
|
||
| 40 | $service->extend('avstelecom', function () {
|
||
| 41 | return new AvsTelecomChannel; |
||
| 42 | }); |
||
| 43 | }); |
||
| 44 | } |
||
| 45 | } |
||
| 46 |