You are here

protected function FileCache::doDelete in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/cache/lib/Doctrine/Common/Cache/FileCache.php \Doctrine\Common\Cache\FileCache::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/FileCache.php, line 138

Class

FileCache
Base file cache driver.

Namespace

Doctrine\Common\Cache

Code

protected function doDelete($id) {
  return @unlink($this
    ->getFilename($id));
}