server/src/app/Providers/ConfigServiceProvider.php
author nowmad@23.1.168.192.in-addr.arpa
Fri, 06 Nov 2015 15:38:42 +0100
changeset 7 479b1dd5a8e3
parent 4 f55970e41793
permissions -rw-r--r--
update .hgignore to ignore build, temp and config files in the ember app and the drupal module

<?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)]);
    }
}