mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-19 18:44:46 +02:00
20 lines
539 B
PHP
20 lines
539 B
PHP
<?php
|
|
|
|
namespace App\Providers;
|
|
|
|
use App\Listeners\DispatchWebhooks;
|
|
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
|
|
|
|
class EventServiceProvider extends ServiceProvider
|
|
{
|
|
/**
|
|
* The event to listener mappings for the application.
|
|
*/
|
|
protected $listen = [
|
|
'App\\*' => [DispatchWebhooks::class],
|
|
'eloquent.created*' => [DispatchWebhooks::class],
|
|
'eloquent.deleted*' => [DispatchWebhooks::class],
|
|
'eloquent.updated*' => [DispatchWebhooks::class],
|
|
];
|
|
}
|