public function remove(string $entryIdentifier): bool
    {
        if (!$this->isValidEntryIdentifier($entryIdentifier)) {
            throw new \InvalidArgumentException('"' . $entryIdentifier . '" is not a valid cache entry identifier.', 1233058495);
        }

        return $this->backend->remove($entryIdentifier);
    }
public function remove(string $entryIdentifier): bool
    {
        if (!$this->isValidEntryIdentifier($entryIdentifier)) {
            throw new \InvalidArgumentException('"' . $entryIdentifier . '" is not a valid cache entry identifier.', 1233058495);
        }

        return $this->backend->remove($entryIdentifier);
    }
public function remove ( string $ entryIdentifier ) : bool { if ( ! $ this -> isValidEntryIdentifier ( $ entryIdentifier ) ) { throw new \ InvalidArgumentException ( '"' . $ entryIdentifier . '" is not a valid cache entry identifier.' , 1233058495 ) ; } return $ this -> backend -> remove ( $ entryIdentifier ) ; }
Removes the given cache entry from the cache.

@param string $entryIdentifier An identifier specifying the cache entry
@return boolean true if such an entry exists, false if not
@throws \InvalidArgumentException
@api
Removes the given cache entry from the cache .