|
@@ -8,12 +8,14 @@ use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvi
|
|
|
class EventServiceProvider extends ServiceProvider
|
|
|
{
|
|
|
/**
|
|
|
- * The event listeners for the application.
|
|
|
+ * The event listener mappings for the application.
|
|
|
*
|
|
|
* @var array
|
|
|
*/
|
|
|
- protected $listeners = [
|
|
|
- //
|
|
|
+ protected $listen = [
|
|
|
+ 'App\Events\Event' => [
|
|
|
+ 'App\Listeners\EventListener',
|
|
|
+ ],
|
|
|
];
|
|
|
|
|
|
/**
|