| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 27 | public function boot() |
||
| 28 | { |
||
| 29 | $this->publishes([ |
||
| 30 | __DIR__.'/../../config' => realpath('config'), |
||
| 31 | ], 'knet-payment'); |
||
| 32 | |||
| 33 | if (null === $this->app['config']->get('kent.php')) { |
||
| 34 | $this->app['config']->set('knet', require __DIR__.'/../../config/knet.php'); |
||
| 35 | } |
||
| 36 | $this->mergeConfigFrom(__DIR__.'/../../config/knet.php', 'knet-payment'); |
||
| 37 | |||
| 38 | $this->loadRoutesFrom(__DIR__.'/../../routes/web.php'); |
||
| 39 | } |
||
| 41 |