20 lines
383 B
PHP
20 lines
383 B
PHP
<?php
|
|
|
|
namespace App\Providers;
|
|
|
|
use Laravel\Lumen\Providers\EventServiceProvider as ServiceProvider;
|
|
|
|
class EventServiceProvider extends ServiceProvider
|
|
{
|
|
/**
|
|
* The event listener mappings for the application.
|
|
*
|
|
* @var array
|
|
*/
|
|
protected $listen = [
|
|
'App\Events\ExampleEvent' => [
|
|
'App\Listeners\ExampleListener',
|
|
],
|
|
];
|
|
}
|