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