public function getLink()
    {
        if ($this->isConnected() === false) {
            $this->connect();
        }
        if (isset($this->servers['all']) === true) {
            return $this->servers['all']['link'];
        }
        if ($this->transactionLevel >= 1) {
            return $this->servers['write']['link'];
        }

        return $this->servers['read']['link'];
    }
public function getLink()
    {
        if ($this->isConnected() === false) {
            $this->connect();
        }
        if (isset($this->servers['all']) === true) {
            return $this->servers['all']['link'];
        }
        if ($this->transactionLevel >= 1) {
            return $this->servers['write']['link'];
        }

        return $this->servers['read']['link'];
    }
Get link.

@return mixed link info