2015-07-08 03:34:58 -04:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Providers;
|
|
|
|
|
2016-08-19 16:38:49 -04:00
|
|
|
use Illuminate\Support\Facades\Event;
|
2015-07-08 03:34:58 -04:00
|
|
|
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
|
|
|
|
|
|
|
|
class EventServiceProvider extends ServiceProvider
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* The event listener mappings for the application.
|
|
|
|
*
|
|
|
|
* @var array
|
|
|
|
*/
|
|
|
|
protected $listen = [
|
|
|
|
'App\Events\SomeEvent' => [
|
|
|
|
'App\Listeners\EventListener',
|
|
|
|
],
|
|
|
|
];
|
|
|
|
|
|
|
|
/**
|
2016-08-19 16:38:49 -04:00
|
|
|
* Register any events for your application.
|
2015-07-08 03:34:58 -04:00
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
2016-08-19 16:38:49 -04:00
|
|
|
public function boot()
|
2015-07-08 03:34:58 -04:00
|
|
|
{
|
2016-08-19 16:38:49 -04:00
|
|
|
parent::boot();
|
2015-07-08 03:34:58 -04:00
|
|
|
|
|
|
|
//
|
|
|
|
}
|
|
|
|
}
|