public function getItem($cacheId, $withVersion = true, &$success = null)
{
if ($withVersion) {
$cacheId .= '.' . $this->getVersion();
}
if (!$this->cache->hasItem($cacheId)) {
$success = false;
return null;
}
$success = null;
$data = $this->cache->getItem($cacheId, $success);
if (!$success) {
$success = false;
return null;
}
if (!isset($data['content'])) {
$success = false;
return null;
}
$success = true;
return unserialize($data['content']);
}