/** * {@inheritdoc} */ public function getSlaveServer() { if (is_null($this->slaveServerId)) { return $this->dbCluster->getSlave(); } return $this->dbCluster->getServer($this->slaveServerId); }