server/src/app/Providers/ViafServiceProvider.php
author ymh <ymh.work@gmail.com>
Wed, 24 Aug 2016 09:46:03 +0200
changeset 263 3deace9204de
parent 139 8d688175513a
permissions -rw-r--r--
pass bo_client to ember 2.8, adjust for the hack around the aupac-typeahead bug in 2.8 (c.f. https://github.com/aupac/ember-aupac-typeahead/issues/23)

<?php

namespace CorpusParole\Providers;

use Config;

use Illuminate\Support\ServiceProvider;

use CorpusParole\Services\ViafResolver;

class ViafServiceProvider extends ServiceProvider
{
    /**
     * Register the application services.
     *
     * @return void
     */
    public function register()
    {
        $this->app->bind('CorpusParole\Services\ViafResolverInterface', function($app) {
            return new ViafResolver($app['Guzzle']);
        });
    }
}