27 lines
559 B
PHP
27 lines
559 B
PHP
<?php
|
|
|
|
namespace App\Providers;
|
|
|
|
use Illuminate\Support\Facades\Schema;
|
|
use Illuminate\Support\Facades\Vite;
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
class AppServiceProvider extends ServiceProvider
|
|
{
|
|
public function register(): void
|
|
{
|
|
//
|
|
}
|
|
|
|
public function boot(): void
|
|
{
|
|
if (! enum_exists('SortDirection', false)) {
|
|
require_once base_path('vendor/symfony/polyfill-php86/Resources/stubs/SortDirection.php');
|
|
}
|
|
|
|
Schema::defaultStringLength(191);
|
|
|
|
Vite::prefetch(concurrency: 3);
|
|
}
|
|
}
|