tethys/app/Providers/EventServiceProvider.php

35 lines
742 B
PHP
Raw Permalink Normal View History

<?php
namespace App\Providers;
2015-07-19 06:49:24 +00:00
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
class EventServiceProvider extends ServiceProvider
{
/**
* The event handler mappings for the application.
*
* @var array
*/
protected $listen = [
2018-08-06 12:30:51 +00:00
'App\Events\Event' => [
'App\Listeners\EventListener',
],
2019-02-14 14:09:11 +00:00
\App\Events\Dataset\DatasetUpdated::class => [
\App\Listeners\DatasetUpdated::class,
],
2018-08-06 12:30:51 +00:00
];
2015-07-19 06:49:24 +00:00
/**
* Register any other events for your application.
*
* @param \Illuminate\Contracts\Events\Dispatcher $events
* @return void
*/
public function boot()
{
parent::boot();
2015-07-19 06:49:24 +00:00
//
}
2015-07-19 06:49:24 +00:00
}