QR_code_generator/app/Providers/EventServiceProvider.php

35 lines
962 B
PHP

<?php
namespace App\Providers;
use App\Events\FeedbackSender;
use App\Events\PasswordRecovered;
use App\Events\UserRegistered;
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
]
];
public function boot() {
parent::boot();
}
}