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