| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | public function register(): void |
||
| 14 | { |
||
| 15 | $this->app->singleton(BePaidApiContext::class, function () { |
||
| 16 | |||
| 17 | return new BePaidApiContext([ |
||
| 18 | 'marketId' => config('services.bepaid.marketId'), |
||
| 19 | 'marketKey' => config('services.bepaid.marketKey'), |
||
| 20 | 'live' => config('services.bepaid.live'), |
||
| 21 | ]); |
||
| 22 | }); |
||
| 23 | |||
| 24 | $this->app->bind(BePaidPaymentGateway::class, BePaidPaymentGateway::class); |
||
| 25 | } |
||
| 36 |