protected function setItem(string $key, string $value, int $expiration)
    {
        if ($this->memcache instanceof \Memcached) {
            return $this->memcache->set($key, $value, $expiration);
        }
        return $this->memcache->set($key, $value, $this->flags, $expiration);
    }
protected function setItem(string $key, string $value, int $expiration)
    {
        if ($this->memcache instanceof \Memcached) {
            return $this->memcache->set($key, $value, $expiration);
        }
        return $this->memcache->set($key, $value, $this->flags, $expiration);
    }
protected function setItem ( string $ key , string $ value , int $ expiration ) { if ( $ this -> memcache instanceof \ Memcached ) { return $ this -> memcache -> set ( $ key , $ value , $ expiration ) ; } return $ this -> memcache -> set ( $ key , $ value , $ this -> flags , $ expiration ) ; }
Stores an item on the server

@param string $key
@param string $value
@param integer $expiration
@return boolean
Stores an item on the server