server/src/app/Providers/TranscriptServiceProvider.php
author ymh <ymh.work@gmail.com>
Sun, 09 Oct 2016 11:44:18 +0200
changeset 325 31a4987f6017
parent 163 59c68fc4848e
permissions -rw-r--r--
Add fields to document index

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