| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 28 | public function register() |
||
| 29 | { |
||
| 30 | $this->mergeConfigFrom(__DIR__.'/../config/webmoney-merchant.php', 'webmoney-merchant'); |
||
| 31 | |||
| 32 | $this->app['events']->subscribe(WebMoneyMerchantNotifier::class); |
||
| 33 | |||
| 34 | $this->app->singleton('webmoneymerchant', function () { |
||
| 35 | return $this->app->make('ActionM\WebMoneyMerchant\WebMoneyMerchant'); |
||
| 36 | }); |
||
| 37 | |||
| 38 | $this->app->alias('webmoneymerchant', 'WebMoneyMerchant'); |
||
| 39 | |||
| 40 | $this->app->singleton(WebMoneyMerchantNotifier::class); |
||
| 41 | } |
||
| 42 | } |
||
| 43 |