| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | public function boot() |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * Configurations that needs to be done by user. |
||
| 19 | */ |
||
| 20 | $this->publishes([ |
||
| 21 | __DIR__.'/../Config/sms.php' => config_path('sms.php'), |
||
| 22 | ], 'config'); |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Bind to service container. |
||
| 26 | */ |
||
| 27 | $this->app->bind('tzsk-sms', function () { |
||
| 28 | return new SmsManager(config('sms')); |
||
| 29 | }); |
||
| 30 | } |
||
| 31 | |||
| 42 |