public function configureFactory(SystemEvent $event)
    {
        $systemConfig  = $this->getConfig();
        $initialConfig = $systemConfig->getInitialConfig();

        if (isset($initialConfig['cache'])) {
            $cacheConfig = (array) $initialConfig['cache'];
            CacheFactory::setConfig($cacheConfig);
        }
    }
public function configureFactory(SystemEvent $event)
    {
        $systemConfig  = $this->getConfig();
        $initialConfig = $systemConfig->getInitialConfig();

        if (isset($initialConfig['cache'])) {
            $cacheConfig = (array) $initialConfig['cache'];
            CacheFactory::setConfig($cacheConfig);
        }
    }
public function configureFactory ( SystemEvent $ event ) { $ systemConfig = $ this -> getConfig ( ) ; $ initialConfig = $ systemConfig -> getInitialConfig ( ) ; if ( isset ( $ initialConfig [ 'cache' ] ) ) { $ cacheConfig = ( array ) $ initialConfig [ 'cache' ] ; CacheFactory :: setConfig ( $ cacheConfig ) ; } }
Configures the cache factory.

@param \Es\System\SystemEvent $event The system event
Configures the cache factory .