暫無描述
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

AppServiceProvider.php 473B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. namespace App\Providers;
  3. use Illuminate\Support\ServiceProvider;
  4. class AppServiceProvider extends ServiceProvider
  5. {
  6. /**
  7. * Register any application services.
  8. *
  9. * @return void
  10. */
  11. public function register()
  12. {
  13. //
  14. }
  15. /**
  16. * Bootstrap any application services.
  17. *
  18. * @return void
  19. */
  20. public function boot()
  21. {
  22. config(['app.locale' => 'id']);
  23. \Carbon\Carbon::setLocale('id');
  24. }
  25. }