public function __toString() { return "UrlInfo{ protocol: {$this->protocol}, host: {$this->host}}"; }