mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
50 lines
1.1 KiB
PHP
50 lines
1.1 KiB
PHP
<?php
|
|
|
|
namespace App\Providers;
|
|
|
|
use App\Events\UserAccessedApi;
|
|
use App\Events\UserLoggedIn;
|
|
use App\Listeners\BtcPayWebhookListener;
|
|
use App\Listeners\UpdateUserAccessedApi;
|
|
use App\Listeners\UpdateUserLoggedIn;
|
|
use Illuminate\Auth\Events\Registered;
|
|
use Illuminate\Auth\Listeners\SendEmailVerificationNotification;
|
|
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
|
|
use Petzsch\LaravelBtcpay\Events\BtcpayWebhookReceived;
|
|
|
|
class EventServiceProvider extends ServiceProvider
|
|
{
|
|
/**
|
|
* The event listener mappings for the application.
|
|
*
|
|
* @var array
|
|
*/
|
|
protected $listen = [
|
|
Registered::class => [
|
|
SendEmailVerificationNotification::class,
|
|
],
|
|
|
|
UserLoggedIn::class => [
|
|
UpdateUserLoggedIn::class,
|
|
],
|
|
|
|
UserAccessedApi::class => [
|
|
UpdateUserAccessedApi::class,
|
|
],
|
|
|
|
BtcpayWebhookReceived::class => [
|
|
BtcPayWebhookListener::class,
|
|
],
|
|
];
|
|
|
|
/**
|
|
* Register any events for your application.
|
|
*/
|
|
public function boot(): void
|
|
{
|
|
parent::boot();
|
|
|
|
//
|
|
}
|
|
}
|