Skip to content

Instantly share code, notes, and snippets.

@codemonkey76
Created July 21, 2020 00:08
Show Gist options
  • Save codemonkey76/9b2a84b356b7bf64ea45530d0a13f14e to your computer and use it in GitHub Desktop.
Save codemonkey76/9b2a84b356b7bf64ea45530d0a13f14e to your computer and use it in GitHub Desktop.
Fusion Api Provider
<?php
namespace App\Providers;
use App\Services\FusionApiService;
use Illuminate\Contracts\Support\DeferrableProvider;
use Illuminate\Support\ServiceProvider;
class FusionApiProvider extends ServiceProvider implements DeferrableProvider
{
public function register()
{
$this->app->bind('fusion-api',FusionApiService::class);
}
public function provides()
{
return ['fusion-api'];
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment