| 1 | <?php |
||
| 8 | class SmscRuServiceProvider extends ServiceProvider implements DeferrableProvider |
||
| 9 | { |
||
| 10 | public function register(): void |
||
| 11 | { |
||
| 12 | $this->app->singleton(SmscRuApi::class, static function ($app) { |
||
| 13 | return new SmscRuApi($app['config']['services.smscru']); |
||
| 14 | }); |
||
| 15 | } |
||
| 16 | |||
| 17 | public function provides(): array |
||
| 23 | } |
||
| 24 |