public function getBase() { $base = $this->m_scheme . '://' . $this->m_host; if (is_numeric($this->m_port)) { $base .= ':' . $this->m_port; } return $base; }