phpvms/modules/Sample/Providers/EventServiceProvider.php
2017-12-02 10:26:25 -06:00

26 lines
524 B
PHP

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