public function clearLock($name)
    {
        if (!isset($this->locks[$name])) {
            return false;
        }

        unset($this->locks[$name]);
        return true;
    }
public function clearLock($name)
    {
        if (!isset($this->locks[$name])) {
            return false;
        }

        unset($this->locks[$name]);
        return true;
    }
public function clearLock ( $ name ) { if ( ! isset ( $ this -> locks [ $ name ] ) ) { return false ; } unset ( $ this -> locks [ $ name ] ) ; return true ; }
Clear lock without releasing it
Do not use this method unless you know what you do

@param  string $name name of lock
@return bool
Clear lock without releasing it Do not use this method unless you know what you do