public function delete($key) { $object = $this->get($key); $this->_cache->remove($key); $this->_keyList->remove($key); return $object; }