| Conditions | 2 |
| Paths | 2 |
| Total Lines | 14 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 9 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | 11 | public function boot() |
|
| 8 | { |
||
| 9 | 11 | if ($this->app->runningInConsole()) { |
|
| 10 | 11 | $this->publishes([ |
|
| 11 | 11 | __DIR__ . '/../config/quick-checkout.php' => config_path('quick-checkout.php'), |
|
| 12 | 11 | ], 'config'); |
|
| 13 | |||
| 14 | 11 | $this->commands([ |
|
| 15 | // |
||
| 16 | 11 | ]); |
|
| 17 | } |
||
| 18 | |||
| 19 | 11 | $this->app->bind('quick-checkout', function ($app) { |
|
| 20 | 5 | return new CheckoutManager($app); |
|
| 21 | 11 | }); |
|
| 29 |