Beispiel #1
0
 /**
  * getCacheDriver
  * returns the cache driver associated with this object
  *
  * @return Doctrine_Cache_Interface|boolean|null    cache driver
  */
 public function getCacheDriver()
 {
     if ($this->_cache instanceof Doctrine_Cache_Interface) {
         return $this->_cache;
     } else {
         return $this->_conn->getCacheDriver();
     }
 }