mirror of
https://github.com/koel/koel
synced 2024-12-26 04:23:05 +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);
|
|
});
|
|
}
|
|
}
|