FleetCart/Modules/Setting/Providers/EventServiceProvider.php
2023-12-03 14:07:47 +00:00

22 lines
509 B
PHP

<?php
namespace Modules\Setting\Providers;
use Modules\Setting\Events\SettingSaved;
use Modules\Setting\Listeners\ClearSettingCache;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
class EventServiceProvider extends ServiceProvider
{
/**
* The event listener mappings for the application.
*
* @var array
*/
protected $listen = [
SettingSaved::class => [
ClearSettingCache::class,
],
];
}