mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2024-12-21 06:19:38 +08:00
17 lines
457 B
PHP
17 lines
457 B
PHP
<?php
|
|
|
|
namespace App\Providers;
|
|
|
|
use App\Services\TranslationLoader;
|
|
use Illuminate\Translation\TranslationServiceProvider as IlluminateTranslationServiceProvider;
|
|
|
|
class TranslationServiceProvider extends IlluminateTranslationServiceProvider
|
|
{
|
|
protected function registerLoader()
|
|
{
|
|
$this->app->singleton('translation.loader', function ($app) {
|
|
return new TranslationLoader($app['files'], $app['path.lang']);
|
|
});
|
|
}
|
|
}
|