Total Complexity | 3 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
7 | class LaravelMediaServiceProvider extends ServiceProvider |
||
8 | { |
||
9 | /** |
||
10 | * Bootstrap the application services. |
||
11 | * |
||
12 | * @return void |
||
13 | */ |
||
14 | public function boot(): void |
||
15 | { |
||
16 | $this->loadTranslationsFrom(__DIR__.'/../translations', 'laravel-media'); |
||
17 | |||
18 | if ($this->app->runningInConsole()) { |
||
19 | $this->publishes([ |
||
20 | __DIR__.'/../config/config.php' => config_path('laravel-media.php'), |
||
21 | ], 'config'); |
||
22 | } |
||
23 | } |
||
24 | |||
25 | /** |
||
26 | * Register the application services. |
||
27 | * |
||
28 | * @return void |
||
29 | */ |
||
30 | public function register(): void |
||
34 | } |
||
35 | } |
||
36 |