/** * Get an item. * * @param string $cacheId * @param bool $success * * @return mixed Data on success, null on failure */ public function getItem($cacheId, &$success = null) { if ($this->hasItem($cacheId)) { $success = true; $cacheId = $this->normalizeKey($cacheId); return $this->cache->get($cacheId); } $success = false; return null; }