protocol = $protocol; $this->user = $user; $this->password = $password; $this->domain = $domain; $this->path = $path; $this->queryParams = $queryParams; $this->anchor = $anchor; } }