public function DrupalMemcachedInterface::set in Memcache Storage 8
Set the cache to the memcached.
Parameters
$key: Cache key string.
$value: Cache value.
int $expiration: Timestamp of cache expiration date. If cache is permanent - then the value is 0.
string $cache_bin: Name of the cache bin.
1 method overrides DrupalMemcachedInterface::set()
- DrupalMemcachedBase::set in src/
DrupalMemcachedBase.php - Set the cache to the memcached.
File
- src/
DrupalMemcachedInterface.php, line 67
Class
Namespace
Drupal\memcache_storageCode
public function set($key, $value, $expiration = 0, $cache_bin = '');