phpvms/app/Providers/EventServiceProvider.php
Nabeel S 90e1b3317d
Distro zip file from tar file #449 (#543)
* Create zip file from tar file

* Formatting
2020-02-10 10:40:42 -05:00

57 lines
1.5 KiB
PHP
Executable File

<?php
namespace App\Providers;
use App\Events\Expenses;
use App\Events\PirepFiled;
use App\Events\UserStatsChanged;
use App\Listeners\AwardListener;
use App\Listeners\BidEventHandler;
use App\Listeners\ExpenseListener;
use App\Listeners\FinanceEventHandler;
use App\Listeners\UserStateListener;
use App\Notifications\EventHandler;
use Codedge\Updater\Events\UpdateAvailable;
use Codedge\Updater\Events\UpdateSucceeded;
use Codedge\Updater\Listeners\SendUpdateAvailableNotification;
use Codedge\Updater\Listeners\SendUpdateSucceededNotification;
use Illuminate\Auth\Events\Registered;
use Illuminate\Auth\Listeners\SendEmailVerificationNotification;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
class EventServiceProvider extends ServiceProvider
{
protected $listen = [
Expenses::class => [
ExpenseListener::class,
],
PirepFiled::class => [
UserStateListener::class,
],
Registered::class => [
SendEmailVerificationNotification::class,
],
UserStatsChanged::class => [
AwardListener::class,
],
UpdateAvailable::class => [
SendUpdateAvailableNotification::class,
],
UpdateSucceeded::class => [
SendUpdateSucceededNotification::class,
],
];
protected $subscribe = [
BidEventHandler::class,
FinanceEventHandler::class,
EventHandler::class,
];
}