-
Notifications
You must be signed in to change notification settings - Fork 0
/
ActionsServiceProvider.php
32 lines (28 loc) · 985 Bytes
/
ActionsServiceProvider.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
class ActionsServiceProvider extends ServiceProvider
{
/**
* Register services.
*
* @return void
*/
public function register()
{
$this->app->bind(\App\Contracts\Actions\ApproveUserContract::class, \App\Actions\Auth\ApproveUser::class);
$this->app->bind(\App\Contracts\Actions\RegisterUserContract::class, \App\Actions\Auth\RegisterUser::class);
$this->app->bind(\App\Contracts\Actions\SendOnboardEmailContract::class, \App\Actions\Notifications\SendOnboardEmail::class);
// $this->app->bind(\App\Contracts\Actions\OnboardUserContract::class, \App\Actions\Onboarding\OnboardUser::class);
$this->app->bind(\App\Contracts\Actions\OnboardUserContract::class, \App\Actions\Onboarding\OnboardAndApproveUser::class);
}
/**
* Bootstrap services.
*
* @return void
*/
public function boot()
{
//
}
}