/** * @param string $id Key name * @return MemcacheKey */ public function get($id) { if (!$this->has($id) || !$this->memcacheCollection[$id] instanceof MemcacheKey) { throw MemcacheCollectionException::invalidKey($id); } return $this->memcacheCollection[$id]; }