public function set($key, $value, $expire)
{
$args = array('key' => $key, 'value' => $value, 'expire' => $expire);
$this->keys[$key] = array(__FUNCTION__, array($this->cache, __FUNCTION__), $args);
}
/** * {@inheritdoc} */ public function set($key, $value, $expire = 0) { // store the value in memory, so that when we ask for it again later in // this same request, we get the value we just set $success = $this->local->set($key, $value, $expire); if ($success === false) { return false; } $this->defer->set($key, $value, $expire); return true; }