Skip to main content

"Black Friday" Discount! Only until December 1st: 50% off all membership plans!

Read more here

koel/koel

17354 stars
1 code files
View koel/koel on GitHub

app/Providers/YouTubeServiceProvider.php

Open in GitHub
use App\Services\YouTubeService;
use Illuminate\Support\ServiceProvider;
 
class YouTubeServiceProvider extends ServiceProvider
{
public function register(): void
{
app()->singleton('YouTube', static fn (): YouTubeService => app(YouTubeService::class));
}
}