tissue/app/Providers/EventServiceProvider.php

38 lines
803 B
PHP
Raw Normal View History

2017-08-27 04:44:53 +09:00
<?php
namespace App\Providers;
2020-05-23 21:34:49 +09:00
use Illuminate\Auth\Events\Registered;
use Illuminate\Auth\Listeners\SendEmailVerificationNotification;
2017-08-27 04:44:53 +09:00
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
2019-01-15 00:05:01 +09:00
use Illuminate\Support\Facades\Event;
2017-08-27 04:44:53 +09:00
class EventServiceProvider extends ServiceProvider
{
/**
* The event listener mappings for the application.
*
* @var array
*/
protected $listen = [
2020-05-23 21:34:49 +09:00
Registered::class => [
SendEmailVerificationNotification::class,
],
'App\Events\LinkDiscovered' => [
'App\Listeners\LinkCollector'
]
2017-08-27 04:44:53 +09:00
];
/**
* Register any events for your application.
*
* @return void
*/
public function boot()
{
parent::boot();
//
}
}