koel/app/Providers/iTunesServiceProvider.php

32 lines
514 B
PHP
Raw Normal View History

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