FleetCart/Modules/Order/Providers/EventServiceProvider.php

21 lines
550 B
PHP
Raw Normal View History

2023-06-11 12:14:03 +00:00
<?php
namespace Modules\Order\Providers;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
class EventServiceProvider extends ServiceProvider
{
/**
* The event listener mappings for the application.
*
* @var array
*/
protected $listen = [
\Modules\Order\Events\OrderStatusChanged::class => [
\Modules\Order\Listeners\SendOrderStatusChangedEmail::class,
\Modules\Order\Listeners\SendOrderStatusChangedSms::class,
],
];
}