koel/app/Providers/DownloadServiceProvider.php

32 lines
522 B
PHP
Raw Normal View History

2016-06-02 17:53:26 +00:00
<?php
namespace App\Providers;
use App\Services\Download;
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 Download();
});
}
}