pass bo_client to ember 2.8, adjust for the hack around the aupac-typeahead bug in 2.8 (c.f. https://github.com/aupac/ember-aupac-typeahead/issues/23)
<?php
namespace CorpusParole\Providers;
use Config;
use Illuminate\Support\ServiceProvider;
class LexvoServiceProvider extends ServiceProvider
{
/**
* Register the application services.
*
* @return void
*/
public function register()
{
$this->app->bind('CorpusParole\Services\LexvoResolverInterface', function($app) {
$sparqlClient = $app->make('EasyRdf\Sparql\Client', [config('corpusparole.lexvo_sesame_query_url'), null]);
return $app->make('CorpusParole\Services\LexvoResolver', [$sparqlClient,]);
});
}
}