public function removeSlave(Server $slave)
    {
        $slaveHashId = spl_object_hash($slave);

        if (isset($this->servers['slaves'][$slaveHashId])) {
            unset($this->servers['slaves'][$slaveHashId]);
        }
    }
public function removeSlave(Server $slave)
    {
        $slaveHashId = spl_object_hash($slave);

        if (isset($this->servers['slaves'][$slaveHashId])) {
            unset($this->servers['slaves'][$slaveHashId]);
        }
    }
public function removeSlave ( Server $ slave ) { $ slaveHashId = spl_object_hash ( $ slave ) ; if ( isset ( $ this -> servers [ 'slaves' ] [ $ slaveHashId ] ) ) { unset ( $ this -> servers [ 'slaves' ] [ $ slaveHashId ] ) ; } }
Removes the input slave if it is in the list of slaves

@param Server $slave The slave to remove
Removes the input slave if it is in the list of slaves