You are here

protected function VoidCache::doDelete in Zircon Profile 8

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

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

vendor/doctrine/cache/lib/Doctrine/Common/Cache/VoidCache.php, line 58

Class

VoidCache
Void cache driver. The cache could be of use in tests where you don`t need to cache anything.

Namespace

Doctrine\Common\Cache

Code

protected function doDelete($id) {
  return true;
}