Conditions | 2 |
Paths | 2 |
Total Lines | 18 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Tests | 12 |
CRAP Score | 2 |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | 22 | public function boot() |
|
8 | { |
||
9 | 22 | if ($this->app->runningInConsole()) { |
|
10 | 22 | $this->publishes([ |
|
11 | 22 | __DIR__ . '/../config/forms-entries.php' => config_path('forms-entries.php'), |
|
12 | 22 | ], 'config'); |
|
13 | |||
14 | 22 | $this->publishes([ |
|
15 | 22 | __DIR__.'/../resources/lang' => lang_path('vendor/forms-entries'), |
|
16 | 22 | ], 'lang'); |
|
17 | |||
18 | 22 | $this->commands([ |
|
19 | 22 | ]); |
|
20 | |||
21 | 22 | $this->registerMigrations(); |
|
22 | } |
||
23 | |||
24 | 22 | $this->loadTranslationsFrom(__DIR__.'/../resources/lang', 'forms-entries'); |
|
25 | } |
||
45 |