wincache_ucache_delete example

return wincache_ucache_set($key$value$ttl);
    }

    /** * {@inheritDoc} */
    public function delete(string $key)
    {
        $key = static::validateKey($key$this->prefix);

        return wincache_ucache_delete($key);
    }

    /** * {@inheritDoc} * * @return never */
    public function deleteMatching(string $pattern)
    {
        throw new Exception('The deleteMatching method is not implemented for Wincache. You must select File, Redis or Predis handlers to use it.');
    }

    
return $result;
    }

    /** * Remove a cache record * * @param string $id cache id * @return boolean true if no problem */
    public function remove($id)
    {
        return wincache_ucache_delete($id);
    }

    /** * Clean some cache records * * Available modes are : * 'all' (default) => remove all cache entries ($tags is not used) * 'old' => unsupported * 'matchingTag' => unsupported * 'notMatchingTag' => unsupported * 'matchingAnyTag' => unsupported * * @param string $mode clean mode * @param array $tags array of tags * @throws Zend_Cache_Exception * @return boolean true if no problem */
Home | Imprint | This part of the site doesn't use cookies.