rbrecruiter/app/Providers/JSONProvider.php
2021-03-29 23:47:55 +01:00

32 lines
458 B
PHP

<?php
namespace App\Providers;
use App\Helpers\JSON;
use Illuminate\Support\ServiceProvider;
class JSONProvider extends ServiceProvider
{
/**
* Register services.
*
* @return void
*/
public function register()
{
//
}
/**
* Bootstrap services.
*
* @return void
*/
public function boot()
{
App::bind('json', function () {
return new JSON();
});
}
}