You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
700 B
29 lines
700 B
<?php
|
|
|
|
namespace App\Domains\Account\Providers;
|
|
|
|
use App\Domains\Account\Listeners\SyncImportedUserProfile;
|
|
use App\Domains\Identity\Events\Integration\UserImportWasProcessed;
|
|
use App\Domains\System\Traits\Provider\RegistersDomainEvents;
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
class AccountServiceProvider extends ServiceProvider
|
|
{
|
|
use RegistersDomainEvents;
|
|
|
|
protected array $listen = [
|
|
UserImportWasProcessed::class => [
|
|
SyncImportedUserProfile::class,
|
|
],
|
|
];
|
|
|
|
public function register(): void
|
|
{
|
|
$this->app->register(RelationshipServiceProvider::class);
|
|
}
|
|
|
|
public function boot(): void
|
|
{
|
|
$this->registerEvents();
|
|
}
|
|
}
|
|
|