public function ExpiringCache::remove

Removes a value from the cache.

Parameters

string $key A unique key:

Overrides CacheInterface::remove

File

drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Cache/ExpiringCache.php, line 55

Class

ExpiringCache
Adds expiration to a cache backend.

Namespace

Assetic\Cache

Code

public function remove($key) {
  $this->cache
    ->remove($key . '.expires');
  $this->cache
    ->remove($key);
}