Total Complexity | 5 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
7 | class ServiceProvider extends \Illuminate\Support\ServiceProvider |
||
8 | { |
||
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 | } |
||
22 | |||
23 | public function register() |
||
33 | }); |
||
34 | } |
||
36 |