equal
deleted
inserted
replaced
14 * @return void |
14 * @return void |
15 */ |
15 */ |
16 public function register() |
16 public function register() |
17 { |
17 { |
18 $this->app->bind('CorpusParole\Services\BnfResolverInterface', function($app) { |
18 $this->app->bind('CorpusParole\Services\BnfResolverInterface', function($app) { |
19 $sparqlClient = $app->make('EasyRdf\Sparql\Client', [config('corpusparole.bnf_query_url'), null]); |
19 $sparqlClient = $app->make('CorpusParole\Libraries\Sparql\GuzzleSparqlClient', [$app['Guzzle'], config('corpusparole.bnf_query_url'), null]); |
20 return $app->make('CorpusParole\Services\BnfResolver', [$sparqlClient,]); |
20 return $app->make('CorpusParole\Services\BnfResolver', [$sparqlClient,]); |
21 }); |
21 }); |
22 } |
22 } |
23 } |
23 } |