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 BnfServiceProvider extends ServiceProvider
{
/**
* Register the application services.
*
* @return void
*/
public function register()
{
$this->app->bind('CorpusParole\Services\BnfResolverInterface', function($app) {
$sparqlClient = $app->make('EasyRdf\Sparql\Client', [config('corpusparole.bnf_query_url'), null]);
return $app->make('CorpusParole\Services\BnfResolver', [$sparqlClient,]);
});
}
}