You are here

public function CacheProvider::delete in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/cache/lib/Doctrine/Common/Cache/CacheProvider.php \Doctrine\Common\Cache\CacheProvider::delete()

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

vendor/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));
}