| 1 | <?php |
||
| 2 | |||
| 3 | namespace Sarahman\HttpRequestApiLog; |
||
| 4 | |||
| 5 | use Illuminate\Support\ServiceProvider; |
||
| 6 | |||
| 7 | class ServiceProviderForLaravelRecent extends ServiceProvider |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Bootstrap the application events. |
||
| 11 | * |
||
| 12 | * @return void |
||
| 13 | */ |
||
| 14 | public function boot() |
||
| 15 | { |
||
| 16 | $this->publishes([ |
||
| 17 | __DIR__.'/config/config.php' => config_path('http-request-api-log.php'), |
||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
| 18 | ]); |
||
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Register the service provider. |
||
| 23 | * |
||
| 24 | * @return void |
||
| 25 | */ |
||
| 26 | public function register() |
||
| 27 | { |
||
| 28 | $app = $this->app; |
||
|
0 ignored issues
–
show
|
|||
| 29 | |||
| 30 | // merge default config |
||
| 31 | $this->mergeConfigFrom( |
||
| 32 | __DIR__.'/config/config.php', |
||
| 33 | 'http-request-api-log' |
||
| 34 | ); |
||
| 35 | } |
||
| 36 | } |
||
| 37 |