You are here

public function CacheProvider::delete 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 Cache::delete

File

lib/doctrine/cache/lib/Doctrine/Common/Cache/CacheProvider.php, line 121

Class

CacheProvider
Base class for cache provider implementations.

Namespace

Doctrine\Common\Cache

Code

public function delete($id) {
  return $this
    ->doDelete($this
    ->getNamespacedId($id));
}