koel/app/Providers/ITunesServiceProvider.php

15 lines
305 B
PHP
Raw Permalink Normal View History

2016-12-11 13:08:30 +00:00
<?php
namespace App\Providers;
2020-12-22 20:11:22 +00:00
use App\Services\ITunesService;
2016-12-11 13:08:30 +00:00
use Illuminate\Support\ServiceProvider;
2020-12-22 20:11:22 +00:00
class ITunesServiceProvider extends ServiceProvider
2016-12-11 13:08:30 +00:00
{
2018-08-29 04:06:17 +00:00
public function register(): void
2016-12-11 13:08:30 +00:00
{
2021-06-05 10:47:56 +00:00
app()->singleton('iTunes', static fn (): ITunesService => app(ITunesService::class));
2016-12-11 13:08:30 +00:00
}
}