QR_code_generator/app/Providers/EventServiceProvider.php

46 lines
1.4 KiB
PHP

<?php
namespace App\Providers;
use App\Events\Applications\ApplicationExpertChanged;
use App\Events\Applications\ApplicationStatusChanged;
use App\Events\FeedbackSender;
use App\Events\PasswordRecovered;
use App\Events\UserRegistered;
use App\Listeners\Applications\SendApplicationExpertChangedNotifications;
use App\Listeners\Applications\SendApplicationStatusChangedNotifications;
use App\Listeners\SendFeedbackMessage;
use App\Listeners\SendPasswordRecoveredNotification;
use App\Listeners\SendRegistrationNotification;
use Illuminate\Auth\Events\Registered;
use Illuminate\Auth\Listeners\SendEmailVerificationNotification;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
class EventServiceProvider extends ServiceProvider {
protected $listen = [
Registered::class => [
SendEmailVerificationNotification::class,
],
UserRegistered::class => [
SendRegistrationNotification::class
],
PasswordRecovered::class => [
SendPasswordRecoveredNotification::class
],
FeedbackSender::class => [
SendFeedbackMessage::class
],
ApplicationStatusChanged::class => [
SendApplicationStatusChangedNotifications::class
],
ApplicationExpertChanged::class => [
SendApplicationExpertChangedNotifications::class
]
];
public function boot() {
parent::boot();
}
}