2023-06-11 12:14:03 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Modules\Currency\Providers;
|
|
|
|
|
2023-12-03 14:07:47 +00:00
|
|
|
use Modules\Setting\Events\SettingSaved;
|
|
|
|
use Modules\Currency\Listeners\CreateCurrencyRates;
|
2023-06-11 12:14:03 +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 = [
|
2023-12-03 14:07:47 +00:00
|
|
|
SettingSaved::class => [
|
|
|
|
CreateCurrencyRates::class,
|
2023-06-11 12:14:03 +00:00
|
|
|
],
|
|
|
|
];
|
|
|
|
}
|