| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 3 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php namespace Cornford\Setter; |
||
| 35 | public function register() |
||
| 36 | { |
||
| 37 | $configPath = __DIR__ . '/../../config/config.php'; |
||
| 38 | $this->mergeConfigFrom($configPath, 'googlmapper'); |
||
| 39 | |||
| 40 | $this->app['setting'] = $this->app->share(function($app) |
||
| 41 | { |
||
| 42 | return new Setting( |
||
| 43 | $this->app->make('Illuminate\Database\DatabaseManager'), |
||
| 44 | $this->app->make('Illuminate\Config\Repository'), |
||
| 45 | $this->app->make('Illuminate\Cache\Repository'), |
||
| 46 | $app['config']->get('googlmapper') |
||
| 47 | ); |
||
| 48 | }); |
||
| 49 | } |
||
| 50 | |||
| 62 |