public function delete($hash = null, $namespace = null)
    {
        if ($this->cacheProvider instanceof iNamespacedCache) {
            return $this->cacheProvider->delete($hash, $namespace);
        }

        return $this->cacheProvider->delete($hash);
    }
public function delete($hash = null, $namespace = null)
    {
        if ($this->cacheProvider instanceof iNamespacedCache) {
            return $this->cacheProvider->delete($hash, $namespace);
        }

        return $this->cacheProvider->delete($hash);
    }
public function delete ( $ hash = null , $ namespace = null ) { if ( $ this -> cacheProvider instanceof iNamespacedCache ) { return $ this -> cacheProvider -> delete ( $ hash , $ namespace ) ; } return $ this -> cacheProvider -> delete ( $ hash ) ; }
Given the hash, this function will remove it from the cache.

@param string $hash
The user defined hash of the data
@param string $namespace
Delete multiple items by a namespace
@return boolean
Given the hash this function will remove it from the cache .