src/Listener/CacheConfigListener.php
public function doStore(ModulesEvent $event)
    {
        $cache  = $this->getCache();
        $config = $this->getConfig();
        $cache->set('config', $config);
    }
public function doStore(ModulesEvent $event)
    {
        $cache  = $this->getCache();
        $config = $this->getConfig();
        $cache->set('config', $config);
    }
Stores the system configuration to cache.

@param \Es\Modules\ModulesEvent $event The modules event