Commit ab7ba393 authored by Taylor Otwell's avatar Taylor Otwell

Add an event service provider.

parent 2889a268
<?php namespace App\Providers;
use Illuminate\Contracts\Events\Dispatcher;
use Illuminate\Events\ListenerServiceProvider as ServiceProvider;
class EventServiceProvider extends ServiceProvider {
/**
* The event handler mappings for the application.
*
* @var array
*/
protected $listen = [
'event.name' => [
'EventListener',
],
];
}
......@@ -101,6 +101,7 @@ return [
'App\Providers\AppServiceProvider',
'App\Providers\ArtisanServiceProvider',
'App\Providers\ErrorServiceProvider',
'App\Providers\EventServiceProvider',
'App\Providers\FilterServiceProvider',
'App\Providers\LogServiceProvider',
'App\Providers\RouteServiceProvider',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment