src/Listener/CacheConfigListener.php
public function doRestore(ModulesEvent $event)
    {
        $cache = $this->getCache();
        $data  = $cache->get('config');
        if ($data) {
            $services = $this->getServices();
            $services->set('Config', $data);
            $event->stopPropagation(true);
        }
    }
public function doRestore(ModulesEvent $event)
    {
        $cache = $this->getCache();
        $data  = $cache->get('config');
        if ($data) {
            $services = $this->getServices();
            $services->set('Config', $data);
            $event->stopPropagation(true);
        }
    }
public function doRestore ( ModulesEvent $ event ) { $ cache = $ this -> getCache ( ) ; $ data = $ cache -> get ( 'config' ) ; if ( $ data ) { $ services = $ this -> getServices ( ) ; $ services -> set ( 'Config' , $ data ) ; $ event -> stopPropagation ( true ) ; } }
Restores the system configuration from cache.

@param \Es\Modules\ModulesEvent $event The modules event
Restores the system configuration from cache .