2019-05-20 07:37:41 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Providers;
|
|
|
|
|
2022-09-21 21:50:41 +02:00
|
|
|
use App\Events\GroupDeleting;
|
|
|
|
use App\Events\TwoFAccountDeleted;
|
2022-10-12 11:10:51 +02:00
|
|
|
use App\Events\ScanForNewReleaseCalled;
|
2022-09-21 21:50:41 +02:00
|
|
|
use App\Listeners\ReleaseRadar;
|
|
|
|
use App\Listeners\CleanIconStorage;
|
|
|
|
use App\Listeners\DissociateTwofaccountFromGroup;
|
2019-05-20 07:37:41 +02:00
|
|
|
use Illuminate\Auth\Events\Registered;
|
|
|
|
use Illuminate\Auth\Listeners\SendEmailVerificationNotification;
|
|
|
|
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
|
|
|
|
|
|
|
|
class EventServiceProvider extends ServiceProvider
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* The event listener mappings for the application.
|
|
|
|
*
|
|
|
|
* @var array
|
|
|
|
*/
|
|
|
|
protected $listen = [
|
|
|
|
Registered::class => [
|
|
|
|
SendEmailVerificationNotification::class,
|
|
|
|
],
|
2022-09-21 21:50:41 +02:00
|
|
|
TwoFAccountDeleted::class => [
|
|
|
|
CleanIconStorage::class,
|
2021-11-30 17:34:35 +01:00
|
|
|
],
|
2022-09-21 21:50:41 +02:00
|
|
|
GroupDeleting::class => [
|
|
|
|
DissociateTwofaccountFromGroup::class,
|
|
|
|
],
|
2022-10-12 11:10:51 +02:00
|
|
|
ScanForNewReleaseCalled::class => [
|
2022-09-21 21:50:41 +02:00
|
|
|
ReleaseRadar::class,
|
2021-11-30 17:34:35 +01:00
|
|
|
],
|
2019-05-20 07:37:41 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Register any events for your application.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function boot()
|
|
|
|
{
|
|
|
|
//
|
|
|
|
}
|
|
|
|
}
|