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