lib/Lock.php
public function release() {
        if (!$this->releaser) {
            return;
        }

        // Invoke the releaser function given to us by the synchronization source
        // to release the lock.
        $releaser = $this->releaser;
        $this->releaser = null;
        ($releaser)($this);
    }
public function release() {
        if (!$this->releaser) {
            return;
        }

        // Invoke the releaser function given to us by the synchronization source
        // to release the lock.
        $releaser = $this->releaser;
        $this->releaser = null;
        ($releaser)($this);
    }
public function release ( ) { if ( ! $ this -> releaser ) { return ; } // Invoke the releaser function given to us by the synchronization source // to release the lock. $ releaser = $ this -> releaser ; $ this -> releaser = null ; ( $ releaser ) ( $ this ) ; }
Releases the lock. No-op if the lock has already been released.
Releases the lock . No - op if the lock has already been released .