Total Complexity | 3 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class EasyPdfServiceProvider extends ServiceProvider |
||
8 | { |
||
9 | /** |
||
10 | * Bootstrap the application services. |
||
11 | */ |
||
12 | public function boot(): void |
||
13 | { |
||
14 | if ($this->app->runningInConsole()) { |
||
15 | $this->publishes([ |
||
16 | __DIR__.'/../config/config.php' => config_path('easy-pdf.php'), |
||
17 | ], 'easy-pdf'); |
||
18 | } |
||
19 | } |
||
20 | |||
21 | /** |
||
22 | * Register the application services. |
||
23 | */ |
||
24 | public function register(): void |
||
29 | }); |
||
30 | } |
||
32 |