public function __toString() { if (null !== $this->uriString) { return $this->uriString; } $this->uriString = static::createUriString($this->scheme, $this->getAuthority(), $this->getPath(), $this->query, $this->fragment); return $this->uriString; }