public function set($key, $value) { if ($key instanceof TSqlMapCacheKey) { $key = $key->getHash(); } if ($value !== null) { $this->_cache->set($key, $value, $this->_flushInterval); } }