Feuerwehr-eppingen/app/Providers/AppServiceProvider.php

35 lines
687 B
PHP
Executable File

<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Facades\Schema;
use Illuminate\Support\Facades\Route;
class AppServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
Schema::defaultStringLength(191);
Route::resourceVerbs([
'create' => 'erstellen',
'edit' => 'bearbeiten',
]);
}
/**
* Register any application services.
*
* @return void
*/
public function register()
{
\Carbon\Carbon::setLocale(config('app.locale'));
}
}