equal
deleted
inserted
replaced
1 <?php |
1 <?php |
2 |
2 |
3 namespace CorpusParole\Providers; |
3 namespace CorpusParole\Providers; |
4 |
4 |
5 use Illuminate\Support\ServiceProvider; |
5 use Illuminate\Support\ServiceProvider; |
|
6 use EasyRdf\Http; |
6 |
7 |
7 class ConfigServiceProvider extends ServiceProvider |
8 class ConfigServiceProvider extends ServiceProvider |
8 { |
9 { |
9 /** |
10 /** |
10 * Overwrite any vendor / package configuration. |
11 * Overwrite any vendor / package configuration. |
16 public function register() |
17 public function register() |
17 { |
18 { |
18 config([ |
19 config([ |
19 // |
20 // |
20 ]); |
21 ]); |
|
22 Http::getDefaultHttpClient()->setConfig(['timeout' => config('corpusparole.easyrdf_http_client_timeout', 10)]); |
21 } |
23 } |
22 } |
24 } |