private function removeTag($tag)
    {
        try {
            if (isset($this->_hashmap[$tag])) {
                foreach (array_keys($this->_hashmap[$tag]) as $key) {
                    if (\apc_delete($key)) {
                        unset($this->_hashmap[$tag][$key]);
                    }
                }

                return $this->saveHashmap();
            }
        } catch (\Exception $e) {
            $this->log('warning', \sprintf('Unable to delete cache for tag %s : %s', $tag, $e->getMessage()));

            return false;
        }

        return true;
    }
private function removeTag($tag)
    {
        try {
            if (isset($this->_hashmap[$tag])) {
                foreach (array_keys($this->_hashmap[$tag]) as $key) {
                    if (\apc_delete($key)) {
                        unset($this->_hashmap[$tag][$key]);
                    }
                }

                return $this->saveHashmap();
            }
        } catch (\Exception $e) {
            $this->log('warning', \sprintf('Unable to delete cache for tag %s : %s', $tag, $e->getMessage()));

            return false;
        }

        return true;
    }
private function removeTag ( $ tag ) { try { if ( isset ( $ this -> _hashmap [ $ tag ] ) ) { foreach ( array_keys ( $ this -> _hashmap [ $ tag ] ) as $ key ) { if ( \ apc_delete ( $ key ) ) { unset ( $ this -> _hashmap [ $ tag ] [ $ key ] ) ; } } return $ this -> saveHashmap ( ) ; } } catch ( \ Exception $ e ) { $ this -> log ( 'warning' , \ sprintf ( 'Unable to delete cache for tag %s : %s' , $ tag , $ e -> getMessage ( ) ) ) ; return false ; } return true ; }
Removes all cache records associated to provided tag.

@param string $tag

@return boolean TRUE if cache is removed FALSE otherwise
Removes all cache records associated to provided tag .