| 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->mergeConfigFrom( |
||
| 34 | \dirname(__DIR__) . '/config/wallet.php', |
||
| 35 | 'wallet' |
||
| 36 | ); |
||
| 37 | |||
| 38 | // Bind eloquent models to IoC container |
||
| 39 | $this->app->singleton('moecasts.wallet::transaction', config('wallet.transaction.model')); |
||
| 40 | $this->app->singleton('moecasts.wallet::transfer', config('wallet.transfer.model')); |
||
| 41 | $this->app->singleton('moecasts.wallet::wallet', config('wallet.wallet.model')); |
||
| 42 | } |
||
| 44 |