| Conditions | 2 |
| Paths | 2 |
| Total Lines | 15 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | public function boot() |
||
| 16 | { |
||
| 17 | $this->publishes([ |
||
| 18 | __DIR__.'/Config/sms.php' => config_path('sms.php'), |
||
|
|
|||
| 19 | ], 'laravel_sms_config'); |
||
| 20 | |||
| 21 | $this->app->singleton(SMS::class, function () { |
||
| 22 | return new SMS(); |
||
| 23 | }); |
||
| 24 | |||
| 25 | $this->app->alias(SMS::class, 'sms'); |
||
| 26 | |||
| 27 | if ($this->app->runningInConsole()) { |
||
| 28 | $this->commands([ |
||
| 29 | MakeGatewayCommand::class, |
||
| 30 | ]); |
||
| 47 |