koel/app/Providers/iTunesServiceProvider.php
2018-08-19 16:40:25 +02:00

21 lines
405 B
PHP

<?php
namespace App\Providers;
use App\Services\iTunesService;
use Illuminate\Support\ServiceProvider;
class iTunesServiceProvider extends ServiceProvider
{
/**
* Register the application services.
*
* @return void
*/
public function register()
{
app()->singleton('iTunes', function () {
return app()->make(iTunesService::class);
});
}
}