phpvms/modules/Vacentral/Providers/EventServiceProvider.php

27 lines
607 B
PHP
Raw Normal View History

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 App\Events\TestEvent;
2017-12-06 11:49:07 +08:00
use Modules\Vacentral\Listeners\PirepAcceptedEventListener;
2017-12-06 11:40:10 +08:00
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
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
];
/**
* Register any events for your application.
*/
public function boot()
{
parent::boot();
}
}