MatthiasMullie\Scrapbook\Adapters\MemoryStore::touch PHP Method

touch() public method

public touch ( $key, $expire )
    public function touch($key, $expire)
    {
        $expire = $this->normalizeTime($expire);
        // get current value & re-save it, with new expiration
        $value = $this->get($key, $token);
        return $this->cas($token, $key, $value, $expire);
    }