Files
opensem/app/Providers/AppServiceProvider.php
2022-06-26 23:33:39 +02:00

34 lines
624 B
PHP

<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Facades\Schema;
use Illuminate\Support\Facades\View;
use App\View\Composers\Shop\LayoutComposer;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*
* @return void
*/
public function register()
{
//
}
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
Schema::defaultStringLength(191);
View::composer('Shop.layout.layout', LayoutComposer::class);
}
}