You are here

public function DrupalMemcachedBase::delete in Memcache Storage 8

Delete the cache item from memcached.

Parameters

$key: Cache item key string.

string $cache_bin: Name of the cache bin.

Overrides DrupalMemcachedInterface::delete

File

src/DrupalMemcachedBase.php, line 206

Class

DrupalMemcachedBase
Class DrupalMemcachedBase

Namespace

Drupal\memcache_storage

Code

public function delete($key, $cache_bin = '') {
  $this
    ->deleteMulti([
    $key,
  ], $cache_bin);
}