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