protected function deleteValue($key)
    {
        $this->db->getCollection($this->cacheCollection)->remove(['id' => $key]);
        return true;
    }
protected function deleteValue($key)
    {
        $this->db->getCollection($this->cacheCollection)->remove(['id' => $key]);
        return true;
    }
protected function deleteValue ( $ key ) { $ this -> db -> getCollection ( $ this -> cacheCollection ) -> remove ( [ 'id' => $ key ] ) ; return true ; }
Deletes a value with the specified key from cache
This method should be implemented by child classes to delete the data from actual cache storage.
@param string $key the key of the value to be deleted
@return bool if no error happens during deletion
Deletes a value with the specified key from cache This method should be implemented by child classes to delete the data from actual cache storage .