protected function setItem($key, $value, $expiration) { if ($this->memcache instanceof \Memcached) { return $this->memcache->set($key, $value, $expiration); } return $this->memcache->set($key, $value, $this->flags, $expiration); }