/** * Bootstrap any application services. * * @return void */ public function boot(Localizer $localizer) { $localizer->setLocale(); $this->publishes([__DIR__ . '/Eloquent/Translation.php' => app_path() . '/Translation.php'], 'eloquent'); $this->publishes([__DIR__ . '/config/translator.php' => config_path('translator.php')], 'config'); $this->publishes([__DIR__ . '/migrations/2016_01_01_000000_create_translations_table.php' => base_path('database/migrations/2016_01_01_000000_create_translations_table.php')], 'migrations'); }