protected function releaseLock($operation)
    {
        $exists = is_resource($this->lockHandle);

        $success = $exists && flock($this->lockHandle, $operation);

        $exists && fclose($this->lockHandle);
        $this->lockHandle = null;

        return $success;
    }
protected function releaseLock($operation)
    {
        $exists = is_resource($this->lockHandle);

        $success = $exists && flock($this->lockHandle, $operation);

        $exists && fclose($this->lockHandle);
        $this->lockHandle = null;

        return $success;
    }
protected function releaseLock ( $ operation ) { $ exists = is_resource ( $ this -> lockHandle ) ; $ success = $ exists && flock ( $ this -> lockHandle , $ operation ) ; $ exists && fclose ( $ this -> lockHandle ) ; $ this -> lockHandle = null ; return $ success ; }
Releases the advisory lock.

@param int $operation

@return bool

@see FlysystemStreamWrapper::stream_lock()
Releases the advisory lock .