2017-11-03 05:26:07 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Providers;
|
|
|
|
|
2018-04-10 11:23:13 +00:00
|
|
|
use Illuminate\Support\Facades\Event;
|
2017-11-03 05:26:07 +00:00
|
|
|
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
|
|
|
|
|
|
|
|
class EventServiceProvider extends ServiceProvider
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* The event listener mappings for the application.
|
|
|
|
*
|
|
|
|
* @var array
|
|
|
|
*/
|
|
|
|
protected $listen = [
|
2018-04-10 11:23:13 +00:00
|
|
|
'App\Events\Event' => [
|
|
|
|
'App\Listeners\EventListener',
|
2017-11-03 05:26:07 +00:00
|
|
|
],
|
|
|
|
];
|
|
|
|
|
|
|
|
/**
|
2018-04-10 11:23:13 +00:00
|
|
|
* Register any events for your application.
|
2017-11-03 05:26:07 +00:00
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function boot()
|
|
|
|
{
|
|
|
|
parent::boot();
|
|
|
|
|
|
|
|
//
|
|
|
|
}
|
|
|
|
}
|