1234567891011121314151617181920212223242526272829 |
- <?php
-
- namespace App\Providers;
-
- use Illuminate\Support\ServiceProvider;
-
- class AppServiceProvider extends ServiceProvider
- {
- /**
- * Register any application services.
- *
- * @return void
- */
- public function register()
- {
- //
- }
-
- /**
- * Bootstrap any application services.
- *
- * @return void
- */
- public function boot()
- {
- config(['app.locale' => 'id']);
- \Carbon\Carbon::setLocale('id');
- }
- }
|