hypothetical/app/Providers/EventServiceProvider.php

33 lines
600 B
PHP
Raw Normal View History

<?php
namespace App\Providers;
2016-08-19 16:38:49 -04:00
use Illuminate\Support\Facades\Event;
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.
*
* @return void
*/
2016-08-19 16:38:49 -04:00
public function boot()
{
2016-08-19 16:38:49 -04:00
parent::boot();
//
}
}