2017-08-27 04:44:53 +09:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Providers;
|
|
|
|
|
|
|
|
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 = [
|
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();
|
|
|
|
|
|
|
|
//
|
|
|
|
}
|
|
|
|
}
|