src/Slave.php
public function release()
    {
        if ($this->status !== self::BUSY) {
            throw new \LogicException('Cannot release a slave that is not in busy state');
        }

        $this->status = self::READY;
        $this->handledRequests++;
    }
public function release()
    {
        if ($this->status !== self::BUSY) {
            throw new \LogicException('Cannot release a slave that is not in busy state');
        }

        $this->status = self::READY;
        $this->handledRequests++;
    }
public function release ( ) { if ( $ this -> status !== self :: BUSY ) { throw new \ LogicException ( 'Cannot release a slave that is not in busy state' ) ; } $ this -> status = self :: READY ; $ this -> handledRequests ++ ; }
Releases a slave from request handling

@return void
Releases a slave from request handling