芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/store.kwesioben.com/vendor/amirami/localizator/src/ServiceProvider.php
app->runningInConsole()) { $this->publishes([ __DIR__.'/../config/localizator.php' => config_path('localizator.php'), ], 'config'); $this->commands(LocalizeCommand::class); } } /** * @return void */ public function register(): void { $this->mergeConfigFrom(__DIR__.'/../config/localizator.php', 'localizator'); $this->registerContainerClasses(); } /** * @return void */ private function registerContainerClasses(): void { $this->app->singleton('localizator', Localizator::class); $this->app->bind('localizator.writers.default', DefaultWriter::class); $this->app->bind('localizator.writers.json', JsonWriter::class); $this->app->bind('localizator.collector.default', DefaultKeyCollector::class); $this->app->bind('localizator.collector.json', JsonKeyCollector::class); } }