| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 6 |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | public function boot() |
||
| 10 | { |
||
| 11 | if ($this->app->runningInConsole()) { |
||
| 12 | $this->commands([ |
||
| 13 | PurgeFilesCommand::class, |
||
| 14 | ]); |
||
| 15 | $this->publishes([ |
||
| 16 | __DIR__.'/../resources/lang' => resource_path('lang/vendor/dusk-reporter'), |
||
| 17 | ]); |
||
| 18 | } |
||
| 19 | |||
| 20 | $this->loadTranslationsFrom(__DIR__.'/../resources/lang', 'dusk-reporter'); |
||
| 21 | } |
||
| 36 |