public function __destruct() { if ($this->_cache !== null && !$this->_useMemcached) { $this->_cache->close(); } }