server/src/app/Providers/TranscriptServiceProvider.php
author ymh <ymh.work@gmail.com>
Sun, 29 May 2016 16:50:17 +0200
changeset 163 59c68fc4848e
parent 162 a6cf5a06f02d
permissions -rw-r--r--
Add transcript api endpoint

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