Total Complexity | 3 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class ServiceProvider extends \Illuminate\Support\ServiceProvider |
||
8 | { |
||
9 | protected $defer = false; |
||
10 | |||
11 | /** |
||
12 | * Bootstrap the application services. |
||
13 | * |
||
14 | * @return void |
||
15 | */ |
||
16 | public function boot() |
||
19 | } |
||
20 | |||
21 | /** |
||
22 | * Register the application services. |
||
23 | * |
||
24 | * @return void |
||
25 | */ |
||
26 | public function register() |
||
27 | { |
||
28 | $this->mergeConfigFrom(__DIR__.'/../config/eus.php', 'eus'); |
||
29 | |||
30 | $this->app->bind(\Fomvasss\LaravelEUS\Contracts\EUSGenerator::class, function () { |
||
31 | return new EUSGenerator($this->app); |
||
32 | }); |
||
33 | } |
||
34 | |||
35 | protected function publishedConfig() |
||
40 | } |
||
41 | } |
||
42 |