You are here

function MemcacheStorage::get in Memcache Storage 7

Implements DrupalCacheInterface::get().

Overrides DrupalCacheInterface::get

File

./memcache_storage.inc, line 59
Provides class for memcached data handling.

Class

MemcacheStorage
Class handles memcached cache objects.

Code

function get($cid) {
  $cids = array(
    $cid,
  );
  $cache = $this
    ->getMultiple($cids);
  return isset($cache[$cid]) ? $cache[$cid] : FALSE;
}