src/ElasticQueueServiceProvider.php
/**
     * Bootstrap any application services.
     *
     * @return void
     */
Bootstrap any application services.
@return void
Bootstrap any application services . @return void
public function boot()
    {
        resolve(QueueManager::class)->extend('elasticsearch', function() {
            return new ElasticsearchConnector(config('queue.connections.elasticsearch'));
        });
    }
public function boot ( ) { resolve ( QueueManager :: class ) -> extend ( 'elasticsearch' , function ( ) { return new ElasticsearchConnector ( config ( 'queue.connections.elasticsearch' ) ) ; } ) ; }
Bootstrap any application services.
Bootstrap any application services .
//extend queue to add elasticsearch driver