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,
|
|
|
|
],
|
2018-06-07 23:46:40 +09:00
|
|
|
'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();
|
|
|
|
|
|
|
|
//
|
|
|
|
}
|
|
|
|
}
|