Conditions | 2 |
Paths | 2 |
Total Lines | 15 |
Lines | 0 |
Ratio | 0 % |
Tests | 10 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
12 | 108 | public function boot() |
|
13 | { |
||
14 | 108 | $this->loadTranslationsFrom(__DIR__.'/../translations', 'self-diagnosis'); |
|
15 | |||
16 | 108 | if ($this->app->runningInConsole()) { |
|
17 | |||
18 | 108 | $this->publishes([ |
|
19 | 108 | __DIR__.'/../translations' => resource_path('lang/vendor/self-diagnosis'), |
|
20 | 108 | ], 'translations'); |
|
21 | |||
22 | 108 | $this->publishes([ |
|
23 | 108 | __DIR__.'/../config/config.php' => config_path('self-diagnosis.php'), |
|
24 | 108 | ], 'config'); |
|
25 | } |
||
26 | 108 | } |
|
27 | |||
42 |