You are here

protected function PredisCache::doDelete in Plug 7

Deletes a cache entry.

Parameters

string $id The cache id.:

Return value

boolean TRUE if the cache entry was successfully deleted, FALSE otherwise.

Overrides CacheProvider::doDelete

File

lib/doctrine/cache/lib/Doctrine/Common/Cache/PredisCache.php, line 76

Class

PredisCache
Predis cache provider.

Namespace

Doctrine\Common\Cache

Code

protected function doDelete($id) {
  return $this->client
    ->del($id) > 0;
}