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