server/src/app/Providers/TranscriptServiceProvider.php
changeset 163 59c68fc4848e
parent 162 a6cf5a06f02d
equal deleted inserted replaced
162:a6cf5a06f02d 163:59c68fc4848e
     5 use Illuminate\Support\ServiceProvider;
     5 use Illuminate\Support\ServiceProvider;
     6 
     6 
     7 class TranscriptServiceProvider extends ServiceProvider
     7 class TranscriptServiceProvider extends ServiceProvider
     8 {
     8 {
     9     /**
     9     /**
    10      * Bootstrap the application services.
       
    11      *
       
    12      * @return void
       
    13      */
       
    14     public function boot()
       
    15     {
       
    16         //
       
    17     }
       
    18 
       
    19     /**
       
    20      * Register the application services.
    10      * Register the application services.
    21      *
    11      *
    22      * @return void
    12      * @return void
    23      */
    13      */
    24     public function register()
    14     public function register()
    25     {
    15     {
    26         //
    16         $this->app->bind('CorpusParole\Services\TranscriptManagerInterface', function($app) {
       
    17             return new TranscriptManager($app['Guzzle']);
       
    18         });
    27     }
    19     }
    28 }
    20 }