src/SlavePool.php
public function remove(Slave $slave)
    {
        $port = $slave->getPort();

        // validate existence
        $this->getByPort($port);

        // remove
        unset($this->slaves[$port]);
    }
public function remove(Slave $slave)
    {
        $port = $slave->getPort();

        // validate existence
        $this->getByPort($port);

        // remove
        unset($this->slaves[$port]);
    }
public function remove ( Slave $ slave ) { $ port = $ slave -> getPort ( ) ; // validate existence $ this -> getByPort ( $ port ) ; // remove unset ( $ this -> slaves [ $ port ] ) ; }
Remove from pool

@param Slave $slave

@return void
Remove from pool