protected function bindElasticsearch()
    {
        $this->app->singleton('Elasticsearch', function ($app)
        {
            return new Client(\Illuminate\Support\Facades\Config::get('larasearch.elasticsearch.params'));
        });
    }
protected function bindElasticsearch()
    {
        $this->app->singleton('Elasticsearch', function ($app)
        {
            return new Client(\Illuminate\Support\Facades\Config::get('larasearch.elasticsearch.params'));
        });
    }
protected function bindElasticsearch ( ) { $ this -> app -> singleton ( 'Elasticsearch' , function ( $ app ) { return new Client ( \ Illuminate \ Support \ Facades \ Config :: get ( 'larasearch.elasticsearch.params' ) ) ; } ) ; }
Bind the Elasticsearch client to the container
Bind the Elasticsearch client to the container