예제 #1
0
 /**
  * @return Google_Cache_Abstract Cache implementation
  */
 public function getCache()
 {
     if (!isset($this->cache)) {
         $class = $this->config->getCacheClass();
         $this->cache = new $class($this);
     }
     return $this->cache;
 }