phpvms/modules/Sample/Providers/EventServiceProvider.php
Nabeel S bbec276da8
#355 Calculate distance button (#366)
* #355 Calculate distance button in add/edit Flight page

* Styling

* Move add/edit flight logic out of controller and into service layer

* Styling

* Formatting

* Run styleci against modules dir

* Styleci config

* Style fixes in /modules
2019-08-26 12:32:46 -04:00

26 lines
549 B
PHP

<?php
namespace Modules\Sample\Providers;
use App\Events\TestEvent;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
use Modules\Sample\Listeners\TestEventListener;
class EventServiceProvider extends ServiceProvider
{
/**
* The event listener mappings for the application.
*/
protected $listen = [
TestEvent::class => [TestEventListener::class],
];
/**
* Register any events for your application.
*/
public function boot()
{
parent::boot();
}
}