function setHost($host) { parent::setHost($host); if (!$this->baseHost) { $this->baseHost = $this->getHost(); } return $this; }