26 lines
560 B
Plaintext
26 lines
560 B
Plaintext
|
<?php
|
||
|
|
||
|
namespace $MODULE_NAMESPACE$\$STUDLY_NAME$\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' => [
|
||
|
'$MODULE_NAMESPACE$\$STUDLY_NAME$\Listeners\TestEventListener',
|
||
|
],
|
||
|
];
|
||
|
|
||
|
/**
|
||
|
* Register any events for your application.
|
||
|
*/
|
||
|
public function boot()
|
||
|
{
|
||
|
parent::boot();
|
||
|
}
|
||
|
}
|