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

14 lines
345 B
PHP

<?php
namespace App\Providers;
use App\Services\License\LicenseServiceInterface;
use Illuminate\Support\ServiceProvider;
class LicenseServiceProvider extends ServiceProvider
{
public function register(): void
{
app()->singleton('License', static fn (): LicenseServiceInterface => app(LicenseServiceInterface::class));
}
}