public function replace($key, $content, $expiry = 0)
    {
        if (!$this->get($key)) {
            return false;
        }

        return $this->set($key, $content, $expiry);
    }
public function replace($key, $content, $expiry = 0)
    {
        if (!$this->get($key)) {
            return false;
        }

        return $this->set($key, $content, $expiry);
    }
public function replace ( $ key , $ content , $ expiry = 0 ) { if ( ! $ this -> get ( $ key ) ) { return false ; } return $ this -> set ( $ key , $ content , $ expiry ) ; }
Replaces a value within the cache.

@param string $key
@param mixed  $content
@param int    $expiry

@return bool
Replaces a value within the cache .