public function getCache()
    {
        if (!$this->cache) {
            if ($this->config->exists('cache_path')) {
                $this->cache = new EdgeFileCache($this->config->get('cache_path'));
            } else {
                $this->cache = new EdgeArrayCache();
            }
        }

        return $this->cache;
    }
public function getCache()
    {
        if (!$this->cache) {
            if ($this->config->exists('cache_path')) {
                $this->cache = new EdgeFileCache($this->config->get('cache_path'));
            } else {
                $this->cache = new EdgeArrayCache();
            }
        }

        return $this->cache;
    }
public function getCache ( ) { if ( ! $ this -> cache ) { if ( $ this -> config -> exists ( 'cache_path' ) ) { $ this -> cache = new EdgeFileCache ( $ this -> config -> get ( 'cache_path' ) ) ; } else { $ this -> cache = new EdgeArrayCache ( ) ; } } return $ this -> cache ; }
Method to get property Cache

@return  EdgeCacheInterface
Method to get property Cache