Files
mtdb_movie/app/Providers/EventServiceProvider.php
maher 703f50a09d
Some checks failed
Build / run (push) Has been cancelled
first commit
2025-10-29 11:42:25 +01:00

39 lines
779 B
PHP
Executable File

<?php
namespace App\Providers;
use App\Listeners\CreateWatchlist;
use App\Listeners\DeleteUserChannels;
use Common\Auth\Events\UserCreated;
use Common\Auth\Events\UsersDeleted;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
class EventServiceProvider extends ServiceProvider
{
/**
* The event listener mappings for the application.
*
* @var array
*/
protected $listen = [
UserCreated::class => [
CreateWatchlist::class,
],
UsersDeleted::class => [
DeleteUserChannels::class
],
];
/**
* Register any events for your application.
*
* @return void
*/
public function boot()
{
parent::boot();
//
}
}