Conditions | 4 |
Paths | 3 |
Total Lines | 16 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
24 | public function boot() |
||
25 | { |
||
26 | if ($this->app->runningInConsole() && ! Str::contains($this->app->version(), 'Lumen')) { |
||
27 | $this->publishes([ |
||
28 | __DIR__.'/../config/translation-loader.php' => config_path('translation-loader.php'), |
||
29 | ], 'config'); |
||
30 | |||
31 | if (! class_exists('CreateLanguageLinesTable')) { |
||
32 | $timestamp = date('Y_m_d_His', time()); |
||
33 | |||
34 | $this->publishes([ |
||
35 | __DIR__.'/../database/migrations/create_language_lines_table.php.stub' => database_path('migrations/'.$timestamp.'_create_language_lines_table.php'), |
||
36 | ], 'migrations'); |
||
37 | } |
||
38 | } |
||
39 | } |
||
40 | |||
55 |