mirror of
https://github.com/koel/koel
synced 2024-11-24 21:23:06 +00:00
16 lines
340 B
PHP
16 lines
340 B
PHP
<?php
|
|
|
|
namespace App\Providers;
|
|
|
|
use App\Services\iTunesService;
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
class iTunesServiceProvider extends ServiceProvider
|
|
{
|
|
public function register(): void
|
|
{
|
|
app()->singleton('iTunes', static function (): iTunesService {
|
|
return app(iTunesService::class);
|
|
});
|
|
}
|
|
}
|