public function release($key)
    {
        if ($this->cache->remove($key)) {
            if (($index = array_search($key, $this->keys)) !== false) {
                unset($this->keys[$index]);
            }
            return true;
        } else {
            return false;
        }
    }
public function release($key)
    {
        if ($this->cache->remove($key)) {
            if (($index = array_search($key, $this->keys)) !== false) {
                unset($this->keys[$index]);
            }
            return true;
        } else {
            return false;
        }
    }
public function release ( $ key ) { if ( $ this -> cache -> remove ( $ key ) ) { if ( ( $ index = array_search ( $ key , $ this -> keys ) ) !== false ) { unset ( $ this -> keys [ $ index ] ) ; } return true ; } else { return false ; } }
Release a lock key

@param string $key
@return bool
Release a lock key