| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | public function register() |
||
| 25 | { |
||
| 26 | // Automatically apply the package configuration |
||
| 27 | $this->mergeConfigFrom(__DIR__ . '/../config/config.php', 'bankly'); |
||
| 28 | |||
| 29 | // Register the main class to use with the facade |
||
| 30 | $this->app->singleton('bankly', function () { |
||
| 31 | return new Bankly; |
||
| 32 | }); |
||
| 33 | |||
| 34 | // Register the card management class to use with the facade |
||
| 35 | $this->app->singleton('bankly_card', function () { |
||
| 36 | return new BanklyCard(); |
||
| 37 | }); |
||
| 38 | } |
||
| 39 | } |
||
| 40 |