jonnybarnes.uk/app/Providers/EventServiceProvider.php

33 lines
596 B
PHP
Raw Normal View History

2016-05-19 15:01:28 +01:00
<?php
namespace App\Providers;
2016-09-06 16:40:39 +01:00
use Illuminate\Support\Facades\Event;
2016-05-19 15:01:28 +01:00
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
class EventServiceProvider extends ServiceProvider
{
/**
* The event listener mappings for the application.
*
* @var array
*/
protected $listen = [
2017-03-27 19:10:51 +01:00
'App\Events\Event' => [
2016-05-19 15:01:28 +01:00
'App\Listeners\EventListener',
],
];
/**
* Register any events for your application.
2016-05-19 15:01:28 +01:00
*
* @return void
*/
2016-09-06 16:40:39 +01:00
public function boot()
2016-05-19 15:01:28 +01:00
{
2016-09-06 16:40:39 +01:00
parent::boot();
2016-05-19 15:01:28 +01:00
//
}
}