server/src/app/Providers/ConfigServiceProvider.php
author ymh <ymh.work@gmail.com>
Sat, 10 Jun 2017 22:43:58 +0200
changeset 536 b64c8c35c67d
parent 4 f55970e41793
permissions -rw-r--r--
add a external link icon to viaf links, correct bug #27355 (https://mantis.culture.fr/mantis/view.php?id=27355)

<?php

namespace CorpusParole\Providers;

use Illuminate\Support\ServiceProvider;
use EasyRdf\Http;

class ConfigServiceProvider extends ServiceProvider
{
    /**
     * Overwrite any vendor / package configuration.
     *
     * This service provider is intended to provide a convenient location for you
     * to overwrite any "vendor" or package configuration that you may want to
     * modify before the application handles the incoming request / command.
     */
    public function register()
    {
        config([
            //
        ]);
        Http::getDefaultHttpClient()->setConfig(['timeout' => config('corpusparole.easyrdf_http_client_timeout', 10)]);
    }
}