1 | <?php |
||
7 | class LERNServiceProvider extends ServiceProvider |
||
8 | { |
||
9 | 69 | public function register() { |
|
10 | 69 | $this->mergeConfigFrom(__DIR__ . '/../config/lern.php', 'lern'); |
|
11 | |||
12 | 69 | $this->handleDeprecatedConfigValues(); |
|
13 | |||
14 | 69 | $this->app->singleton('lern', function() { |
|
15 | 3 | return new LERN; |
|
16 | 69 | }); |
|
17 | 69 | } |
|
18 | |||
19 | 69 | public function boot() |
|
27 | |||
28 | 69 | protected function handleDeprecatedConfigValues() |
|
43 | } |