Files
GSB-Construction/Modules/MaterialLogistics/app/Providers/EventServiceProvider.php

34 lines
854 B
PHP

<?php
namespace Modules\MaterialLogistics\Providers;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
use Modules\MaterialLogistics\Events\PurchaseOrderPaid;
use Modules\MaterialLogistics\Listeners\HandlePurchaseOrderPaid;
class EventServiceProvider extends ServiceProvider
{
/**
* The event handler mappings for the application.
*
* @var array<string, array<int, string>>
*/
protected $listen = [
PurchaseOrderPaid::class => [
HandlePurchaseOrderPaid::class,
],
];
/**
* Indicates if events should be discovered.
*
* @var bool
*/
protected static $shouldDiscoverEvents = true;
/**
* Configure the proper event listeners for email verification.
*/
protected function configureEmailVerification(): void {}
}