| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 31 | public function register() |
||
| 32 | { |
||
| 33 | $this->app->singleton('infobip.sms', function (Container $app) { |
||
| 34 | return new InfobipSmsService( |
||
| 35 | $app['config']['infobip-sms.from'], |
||
| 36 | $app['config']['infobip-sms.username'], |
||
| 37 | $app['config']['infobip-sms.password'] |
||
| 38 | ); |
||
| 39 | }); |
||
| 40 | |||
| 41 | $this->app->alias('InfobipSms', InfobipSms::class); |
||
| 42 | } |
||
| 44 |