1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-21 00:41:34 +02:00
invoiceninja/app/Providers/EventServiceProvider.php

43 lines
766 B
PHP
Raw Normal View History

2018-10-04 19:10:43 +02:00
<?php
namespace App\Providers;
2018-10-24 05:50:15 +02:00
use App\Events\User\UserCreated;
use App\Listeners\SendVerificationNotification;
2018-10-04 19:10:43 +02:00
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
class EventServiceProvider extends ServiceProvider
{
/**
* The event listener mappings for the application.
*
* @var array
*/
protected $listen = [
2018-10-24 05:50:15 +02:00
UserCreated::class => [
SendVerificationNotification::class,
]
];
/**
* The subscriber classes to register.
*
* @var array
*/
protected $subscribe = [
2018-10-04 19:10:43 +02:00
];
/**
* Register any events for your application.
*
* @return void
*/
public function boot()
{
parent::boot();
//
}
}