expressolivretools / app / Providers / EventServiceProvider.php @ master
Histórico | Ver | Anotar | Baixar (395 Bytes)
1 |
<?php
|
---|---|
2 |
|
3 |
namespace App\Providers; |
4 |
|
5 |
use Laravel\Lumen\Providers\EventServiceProvider as ServiceProvider; |
6 |
|
7 |
class EventServiceProvider extends ServiceProvider |
8 |
{ |
9 |
/**
|
10 |
* The event listener mappings for the application.
|
11 |
*
|
12 |
* @var array
|
13 |
*/
|
14 |
protected $listen = [ |
15 |
\App\Events\ExampleEvent::class => [ |
16 |
\App\Listeners\ExampleListener::class, |
17 |
], |
18 |
]; |
19 |
} |