public function remove(string $entryIdentifier): bool
    {
        if (!isset($this->entries[$entryIdentifier])) {
            return false;
        }
        unset($this->entries[$entryIdentifier]);
        foreach (array_keys($this->tagsAndEntries) as $tag) {
            if (isset($this->tagsAndEntries[$tag][$entryIdentifier])) {
                unset($this->tagsAndEntries[$tag][$entryIdentifier]);
            }
        }
        return true;
    }
public function remove(string $entryIdentifier): bool
    {
        if (!isset($this->entries[$entryIdentifier])) {
            return false;
        }
        unset($this->entries[$entryIdentifier]);
        foreach (array_keys($this->tagsAndEntries) as $tag) {
            if (isset($this->tagsAndEntries[$tag][$entryIdentifier])) {
                unset($this->tagsAndEntries[$tag][$entryIdentifier]);
            }
        }
        return true;
    }
public function remove ( string $ entryIdentifier ) : bool { if ( ! isset ( $ this -> entries [ $ entryIdentifier ] ) ) { return false ; } unset ( $ this -> entries [ $ entryIdentifier ] ) ; foreach ( array_keys ( $ this -> tagsAndEntries ) as $ tag ) { if ( isset ( $ this -> tagsAndEntries [ $ tag ] [ $ entryIdentifier ] ) ) { unset ( $ this -> tagsAndEntries [ $ tag ] [ $ entryIdentifier ] ) ; } } return true ; }
Removes all cache entries matching the specified identifier.

@param string $entryIdentifier Specifies the cache entry to remove
@return boolean true if the entry could be removed or false if no entry was found
@api
Removes all cache entries matching the specified identifier .