Files
Nexora/app/Providers/EventServiceProvider.php

39 lines
835 B
PHP
Raw Normal View History

2025-04-23 00:14:33 +06:00
<?php
namespace App\Providers;
use Illuminate\Auth\Events\Registered;
//use Illuminate\Support\ServiceProvider;
use Illuminate\Auth\Listeners\SendEmailVerificationNotification;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
class EventServiceProvider extends ServiceProvider
{
protected $listen = [
Registered::class => [
SendEmailVerificationNotification::class,
],
// Agrega tus eventos aquí
\App\Events\DocumentVersionUpdated::class => [
\App\Listeners\SendDocumentVersionNotification::class,
],
];
/**
* Register services.
*/
public function register(): void
{
//
}
/**
* Bootstrap services.
*/
public function boot(): void
{
parent::boot();
}
}