server/src/app/Providers/TranscriptServiceProvider.php
author ymh <ymh.work@gmail.com>
Wed, 24 Aug 2016 09:46:03 +0200
changeset 263 3deace9204de
parent 163 59c68fc4848e
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 Illuminate\Support\ServiceProvider;

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