2015-03-21 02:33:38 -06:00
|
|
|
<?php
|
|
|
|
|
2015-04-19 08:52:39 +01:00
|
|
|
/*
|
|
|
|
* This file is part of Cachet.
|
|
|
|
*
|
2015-05-25 17:59:08 +01:00
|
|
|
* (c) Cachet HQ <support@cachethq.io>
|
2015-04-19 08:52:39 +01:00
|
|
|
*
|
|
|
|
* For the full copyright and license information, please view the LICENSE
|
|
|
|
* file that was distributed with this source code.
|
|
|
|
*/
|
|
|
|
|
2015-03-21 02:33:38 -06:00
|
|
|
namespace CachetHQ\Cachet\Providers;
|
2015-03-20 18:30:45 -06:00
|
|
|
|
|
|
|
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
|
|
|
|
|
|
|
|
class EventServiceProvider extends ServiceProvider
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* The event handler mappings for the application.
|
|
|
|
*
|
|
|
|
* @var array
|
|
|
|
*/
|
|
|
|
protected $listen = [
|
2015-05-24 16:33:03 -05:00
|
|
|
'CachetHQ\Cachet\Events\CustomerHasSubscribedEvent' => [
|
|
|
|
'CachetHQ\Cachet\Handlers\Events\SendSubscriberVerificationEmailHandler',
|
|
|
|
],
|
|
|
|
'CachetHQ\Cachet\Events\IncidentHasReportedEvent' => [
|
|
|
|
'CachetHQ\Cachet\Handlers\Events\SendIncidentEmailNotificationHandler',
|
|
|
|
],
|
|
|
|
'CachetHQ\Cachet\Events\MaintenanceHasScheduledEvent' => [
|
|
|
|
'CachetHQ\Cachet\Handlers\Events\SendMaintenanceEmailNotificationHandler',
|
2015-03-20 18:30:45 -06:00
|
|
|
],
|
|
|
|
];
|
|
|
|
}
|