osb/app/Providers/EventServiceProvider.php

33 lines
596 B
PHP
Raw Permalink Normal View History

2017-11-03 05:26:07 +00:00
<?php
namespace App\Providers;
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 = [
'App\Events\Event' => [
'App\Listeners\EventListener',
2017-11-03 05:26:07 +00:00
],
];
/**
* Register any events for your application.
2017-11-03 05:26:07 +00:00
*
* @return void
*/
public function boot()
{
parent::boot();
//
}
}