invoiceninja/app/Providers/EventServiceProvider.php

48 lines
963 B
PHP
Raw Normal View History

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