osb/app/Providers/EventServiceProvider.php

31 lines
582 B
PHP
Raw Normal View History

2017-11-03 05:26:07 +00:00
<?php
namespace App\Providers;
use Illuminate\Support\Facades\Event;
2017-11-03 05:26:07 +00:00
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
class EventServiceProvider extends ServiceProvider
{
/**
* The event listener mappings for the application.
*
* @var array
*/
protected $listen = [
2022-06-24 14:18:57 +00:00
'Illuminate\Mail\Events\MessageSent' => [
'App\Listeners\LogSentMessage',
],
2017-11-03 05:26:07 +00:00
];
/**
* Register any events for your application.
2017-11-03 05:26:07 +00:00
*
* @return void
*/
public function boot()
{
parent::boot();
}
}