2015-07-19 06:49:24 +00:00
|
|
|
<?php namespace App\Providers;
|
|
|
|
|
|
|
|
use Illuminate\Contracts\Events\Dispatcher as DispatcherContract;
|
|
|
|
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
|
|
|
|
|
|
|
|
class EventServiceProvider extends ServiceProvider {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The event handler mappings for the application.
|
|
|
|
*
|
|
|
|
* @var array
|
|
|
|
*/
|
|
|
|
protected $listen = [
|
2018-08-06 12:30:51 +00:00
|
|
|
'App\Events\Event' => [
|
|
|
|
'App\Listeners\EventListener',
|
|
|
|
],
|
|
|
|
];
|
2015-07-19 06:49:24 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Register any other events for your application.
|
|
|
|
*
|
|
|
|
* @param \Illuminate\Contracts\Events\Dispatcher $events
|
|
|
|
* @return void
|
|
|
|
*/
|
2018-08-06 12:30:51 +00:00
|
|
|
public function boot()
|
2015-07-19 06:49:24 +00:00
|
|
|
{
|
2018-08-06 12:30:51 +00:00
|
|
|
parent::boot();
|
2015-07-19 06:49:24 +00:00
|
|
|
|
|
|
|
//
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|