Files
Nexora/app/Providers/EventServiceProvider.php
Javi 356f56eebd
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled
first commit
2025-04-23 00:14:33 +06:00

39 lines
835 B
PHP

<?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();
}
}