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

        $this->status = self::READY;
    }
public function ready()
    {
        if ($this->status !== self::REGISTERED) {
            throw new \LogicException('Cannot ready a slave that is not in registered state');
        }

        $this->status = self::READY;
    }
public function ready ( ) { if ( $ this -> status !== self :: REGISTERED ) { throw new \ LogicException ( 'Cannot ready a slave that is not in registered state' ) ; } $ this -> status = self :: READY ; }
Ready a slave after bootstrap completed

@return void
Ready a slave after bootstrap completed