mirror of
https://github.com/koel/koel
synced 2024-12-01 00:09:17 +00:00
31 lines
536 B
PHP
31 lines
536 B
PHP
<?php
|
|
|
|
namespace App\Providers;
|
|
|
|
use App\Services\DownloadService;
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
class DownloadServiceProvider extends ServiceProvider
|
|
{
|
|
/**
|
|
* Bootstrap the application services.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function boot()
|
|
{
|
|
//
|
|
}
|
|
|
|
/**
|
|
* Register the application services.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function register()
|
|
{
|
|
app()->singleton('Download', function () {
|
|
return new DownloadService();
|
|
});
|
|
}
|
|
}
|