server/src/app/Providers/TranscriptServiceProvider.php
author ymh <ymh.work@gmail.com>
Thu, 02 Jun 2016 18:24:19 +0200
changeset 168 17f10b56c079
parent 163 59c68fc4848e
permissions -rw-r--r--
improve document model and propagate changes. This include the change of document fixtures to better reflect what the api is effectively returning

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