public function get($key)
{
$result = $this->getCache()->get($key);
if ($result === false) {
// if the key has not been found in cache (e.g expired), remove from keylist
$keyList = $this->getKeyList();
if ($keyList->contains($key)) {
$keyList->remove($key);
$this->setKeyList($keyList);
}
}
return $result === false ? null : $result;
}