Example #1
0
 /**
  * Deletes the cache file for the given hash
  * 
  * @param string $hash
  * @return boolean
  */
 protected function removeCacheFile($hash)
 {
     if (!$this->hasCachedFile($hash)) {
         return false;
     }
     $fileData = $this->cachedFiles[$hash];
     $this->fileBackend->deleteFile($fileData['file']);
 }