2017-12-06 11:40:10 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Modules\Vacentral\Providers;
|
|
|
|
|
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;
|
2019-08-27 00:32:46 +08:00
|
|
|
use Modules\Vacentral\Listeners\PirepAcceptedEventListener;
|
2017-12-06 11:40:10 +08:00
|
|
|
|
|
|
|
class EventServiceProvider extends ServiceProvider
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* The event listener mappings for the application.
|
|
|
|
*/
|
|
|
|
protected $listen = [
|
2017-12-06 11:49:07 +08:00
|
|
|
PirepAccepted::class => [PirepAcceptedEventListener::class],
|
2017-12-06 11:40:10 +08:00
|
|
|
];
|
|
|
|
}
|