phpvms/modules/Vacentral/Providers/EventServiceProvider.php

18 lines
523 B
PHP
Raw Normal View History

2017-12-06 11:40:10 +08:00
<?php
namespace Modules\Vacentral\Providers;
2020-06-09 21:10:40 +08:00
use App\Events\AcarsUpdate;
2017-12-06 11:49:07 +08:00
use App\Events\PirepAccepted;
2017-12-06 11:40:10 +08:00
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
2020-06-09 21:10:40 +08:00
use Modules\Vacentral\Listeners\AcarsUpdateListener;
use Modules\Vacentral\Listeners\PirepAcceptedEventListener;
2017-12-06 11:40:10 +08:00
class EventServiceProvider extends ServiceProvider
{
protected $listen = [
2020-06-09 21:10:40 +08:00
AcarsUpdate::class => [AcarsUpdateListener::class],
2017-12-06 11:49:07 +08:00
PirepAccepted::class => [PirepAcceptedEventListener::class],
2017-12-06 11:40:10 +08:00
];
}