src/BenConstable/Lock/Lock.php
public function release()
    {
        if ($this->locked) {
            flock($this->fp, LOCK_UN);
            fclose($this->fp);

            $this->fp = null;
            $this->locked = false;
        }

        return $this;
    }
public function release()
    {
        if ($this->locked) {
            flock($this->fp, LOCK_UN);
            fclose($this->fp);

            $this->fp = null;
            $this->locked = false;
        }

        return $this;
    }
public function release ( ) { if ( $ this -> locked ) { flock ( $ this -> fp , LOCK_UN ) ; fclose ( $ this -> fp ) ; $ this -> fp = null ; $ this -> locked = false ; } return $ this ; }
Release the lock on the resource, if we have one.

@return \BenConstable\Lock\Lock This, for chaining
Release the lock on the resource if we have one .