koel/app/Providers/iTunesServiceProvider.php

22 lines
405 B
PHP
Raw Normal View History

2016-12-11 13:08:30 +00:00
<?php
namespace App\Providers;
2018-08-19 14:40:25 +00:00
use App\Services\iTunesService;
2016-12-11 13:08:30 +00:00
use Illuminate\Support\ServiceProvider;
class iTunesServiceProvider extends ServiceProvider
{
/**
* Register the application services.
*
* @return void
*/
public function register()
{
app()->singleton('iTunes', function () {
2018-08-19 14:40:25 +00:00
return app()->make(iTunesService::class);
2016-12-11 13:08:30 +00:00
});
}
}