32 lines
798 B
PHP
32 lines
798 B
PHP
<?php
|
|
|
|
namespace Modules\ApprovalWorkflow\Providers;
|
|
|
|
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
|
|
|
|
class EventServiceProvider extends ServiceProvider
|
|
{
|
|
/**
|
|
* The event handler mappings for the application.
|
|
*
|
|
* @var array<string, array<int, string>>
|
|
*/
|
|
protected $listen = [
|
|
\Modules\ApprovalWorkflow\Events\ApprovalCompleted::class => [
|
|
\Modules\ApprovalWorkflow\Listeners\SyncApprovableStatus::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 {}
|
|
}
|