/** * Remove an item. * * @param string $cacheId * @param bool $withVersion * * @return bool */ public function removeItem($cacheId, $withVersion = true) { if ($withVersion) { $cacheId .= '.' . $this->getVersion(); } return $this->cache->removeItem($cacheId); }
/** * Removes the object identified by $objectId from the persistence provider * * @param string $objectId * * @return bool */ public function remove($objectId) { return $this->adapter->removeItem($objectId); }