osb/app/Providers/EventServiceProvider.php

37 lines
714 B
PHP
Raw Normal View History

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