/** * Host name is derived from the URL object. * @see BaseDeliveryProfile::setUrl() */ public function setUrl($url) { $hostName = parse_url($url, PHP_URL_HOST); $this->setHostName($hostName); parent::setUrl($url); }