Cachearium\Backend\CacheMemcached::delete PHP Method

delete() public method

(non-PHPdoc)
See also: Cachearium\Backend\CacheRAM::delete()
public delete ( CacheKey $k )
$k Cachearium\CacheKey
    public function delete(CacheKey $k)
    {
        // @codeCoverageIgnoreStart
        if (!$this->enabled) {
            throw new NotCachedException();
        }
        // @codeCoverageIgnoreEnd
        $group = $this->hashKey($k);
        $this->log(CacheLogEnum::DELETED, $k);
        parent::delete($k);
        return $this->memcached->delete($group);
    }