mirror of
https://github.com/koel/koel
synced 2024-11-10 14:44:13 +00:00
32 lines
506 B
PHP
32 lines
506 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Providers;
|
||
|
|
||
|
use App\Services\Util;
|
||
|
use Illuminate\Support\ServiceProvider;
|
||
|
|
||
|
class UtilServiceProvider extends ServiceProvider
|
||
|
{
|
||
|
/**
|
||
|
* Bootstrap the application services.
|
||
|
*
|
||
|
* @return void
|
||
|
*/
|
||
|
public function boot()
|
||
|
{
|
||
|
//
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Register the application services.
|
||
|
*
|
||
|
* @return void
|
||
|
*/
|
||
|
public function register()
|
||
|
{
|
||
|
app()->singleton('Util', function () {
|
||
|
return new Util();
|
||
|
});
|
||
|
}
|
||
|
}
|