public function deleteElement($key, $element)
    {
        $cache = $this->get($key);
        if ($cache !== false && isset($cache[$element])) {
            unset($cache[$element]);
            return $this->set($key, $cache);
        }
        return true;
    }
public function deleteElement($key, $element)
    {
        $cache = $this->get($key);
        if ($cache !== false && isset($cache[$element])) {
            unset($cache[$element]);
            return $this->set($key, $cache);
        }
        return true;
    }
public function deleteElement ( $ key , $ element ) { $ cache = $ this -> get ( $ key ) ; if ( $ cache !== false && isset ( $ cache [ $ element ] ) ) { unset ( $ cache [ $ element ] ) ; return $ this -> set ( $ key , $ cache ) ; } return true ; }
Deletes the value of element with the specified key from cache array.
@param string $key a key identifying the value to be deleted from cache.
@param string $element a key of the element.
@return bool
Deletes the value of element with the specified key from cache array .