You are here

public function DrupalMemcachedInterface::get in Memcache Storage 8

Get the cache item from memcached.

Parameters

$key: Cache item key string.

string $cache_bin: Name of the cache bin.

Return value

mixed Cache data or empty, if not found.

1 method overrides DrupalMemcachedInterface::get()
DrupalMemcachedBase::get in src/DrupalMemcachedBase.php
Get the cache item from memcached.

File

src/DrupalMemcachedInterface.php, line 92

Class

DrupalMemcachedInterface

Namespace

Drupal\memcache_storage

Code

public function get($key, $cache_bin = '');