<?php

namespace Modules\Core\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\Setting\Events\SettingSaved::class => [
            \Modules\Core\Listeners\ClearConfigCache::class,
            \Modules\Core\Listeners\ClearRouteCache::class,
        ],
    ];
}
