}
}
+ /**
+ * (@inheritdoc)
+ */
+ public function getAllKeys()
+ {
+ return $this->memcached->getAllKeys();
+ }
+
+ /**
+ * (@inheritdoc)
+ */
public function get($key)
{
$return = null;
return $return;
}
+ /**
+ * (@inheritdoc)
+ */
public function set($key, $value, $ttl = Cache::FIVE_MINUTES)
{
$cachekey = $this->getCacheKey($key);
}
+ /**
+ * (@inheritdoc)
+ */
public function delete($key)
{
$cachekey = $this->getCacheKey($key);
return $this->memcached->delete($cachekey);
}
+ /**
+ * (@inheritdoc)
+ */
public function clear($outdated = true)
{
if ($outdated) {
}
/**
- * @brief Sets a value if it's not already stored
- *
- * @param string $key The cache key
- * @param mixed $value The old value we know from the cache
- * @param int $ttl The cache lifespan, must be one of the Cache constants
- * @return bool
+ * (@inheritdoc)
*/
public function add($key, $value, $ttl = Cache::FIVE_MINUTES)
{