/** * Set the host portion of the url * * @param string $host */ public function setHost($host = null) { $this->host = TypeTest::nullableString($host, "host"); }