TIF_E41200315/app/Providers/AppServiceProvider.php

32 lines
550 B
PHP

<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use Carbon\Carbon;
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::setLocale('id');
$this->app->register(SidebarComposerServiceProvider::class);
}
}