koel/app/Providers/LicenseServiceProvider.php

15 lines
345 B
PHP
Raw Normal View History

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