Browse Source

change default

Taylor Otwell 6 years ago
parent
commit
d75800052d
1 changed files with 5 additions and 3 deletions
  1. 5 3
      app/Providers/EventServiceProvider.php

+ 5 - 3
app/Providers/EventServiceProvider.php

@@ -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',
+        ],
     ];
 
     /**