moduleSvc = app(ModuleService::class); $this->registerConfig(); } /** * Register config. */ protected function registerConfig() { $this->publishes([ __DIR__.'/../Config/config.php' => config_path('vacentral.php'), ], 'config'); $this->mergeConfigFrom( __DIR__.'/../Config/config.php', 'vacentral' ); } }