Total Complexity | 3 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
7 | class JsonHandlerServiceProvider extends ServiceProvider |
||
8 | { |
||
9 | public function boot() |
||
10 | { |
||
11 | $this->publishes([ |
||
12 | $this->configPath() => config_path('json-exception-handler.php'), |
||
13 | ]); |
||
14 | |||
15 | $this->loadTranslationsFrom(__DIR__.'/../resources/lang', 'exception'); |
||
16 | |||
17 | $this->publishes([ |
||
18 | __DIR__.'/../resources/lang' => resource_path('lang/vendor/exception'), |
||
19 | ]); |
||
20 | } |
||
21 | |||
22 | public function register() |
||
25 | } |
||
26 | |||
27 | public function configPath() |
||
30 | } |
||
31 | } |
||
32 |