| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | public function boot() |
||
| 20 | { |
||
| 21 | $this->loadMigrationsFrom(static::DB); |
||
| 22 | $this->loadTranslationsFrom(static::LANG, 'clamavfileupload'); |
||
| 23 | |||
| 24 | $this->publishes([ |
||
| 25 | static::CONFIG => config_path('clamavfileupload.php'), |
||
| 26 | ], 'cfu-config'); |
||
| 27 | $this->publishes([ |
||
| 28 | static::DB => database_path('migrations'), |
||
| 29 | ], 'cfu-migrations'); |
||
| 30 | $this->publishes([ |
||
| 31 | static::LANG => lang_path('vendor/clamavfileupload'), |
||
| 32 | ], 'cfu-lang'); |
||
| 33 | } |
||
| 50 |