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