koel/app/Providers/LicenseServiceProvider.php
2024-07-06 17:44:39 +02:00

14 lines
310 B
PHP

<?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));
}
}