koel/app/Providers/LicenseServiceProvider.php

15 lines
310 B
PHP
Raw Normal View History

2024-01-03 17:02:18 +00:00
<?php
namespace App\Providers;
use App\Services\LicenseService;
use Illuminate\Support\ServiceProvider;
class LicenseServiceProvider extends ServiceProvider
{
public function register(): void
{
app()->singleton('License', static fn (): LicenseService => app(LicenseService::class));
}
}