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

14 lines
355 B
PHP

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