private function getLockValue($key, $default = null)
    {
        return isset($this->lock[$key]) ? $this->lock[$key] : $default;
    }
private function getLockValue($key, $default = null)
    {
        return isset($this->lock[$key]) ? $this->lock[$key] : $default;
    }
private function getLockValue ( $ key , $ default = null ) { return isset ( $ this -> lock [ $ key ] ) ? $ this -> lock [ $ key ] : $ default ; }
Get the lock value.

@param string     $key     The key
@param null|mixed $default The default value

@return null|mixed
Get the lock value .