| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 41 | public function register() |
||
| 42 | { |
||
| 43 | $configPath = __DIR__ . '/../config/config.php'; |
||
| 44 | $this->mergeConfigFrom($configPath, 'googlmapper'); |
||
| 45 | |||
| 46 | $this->app->singleton( |
||
| 47 | Mapper::class, |
||
| 48 | function ($app) { |
||
| 49 | return new Mapper($app->view, $app['config']->get('googlmapper')); |
||
| 50 | } |
||
| 51 | ); |
||
| 52 | } |
||
| 53 | |||
| 64 |