Cviebrock\LaravelElasticsearch\ServiceProvider::boot PHP Method

boot() public method

Bootstrap the application events.
public boot ( ) : void
return void
    public function boot()
    {
        $configPath = realpath(__DIR__ . '/../config/elasticsearch.php');
        $this->publishes([$configPath => config_path('elasticsearch.php')]);
    }
ServiceProvider