Lines Matching refs:Url
34 class Url extends PathAbs class
181 public static function createEmpty(): Url
183 return new Url();
189 public static function createFromGetOrPostGlobalVariable(): Url
204 $url = Url::createEmpty();
303 public static function createFromString(string $url): Url
305 return new Url($url);
325 public function setPath(string $path): Url
357 public function addQueryParameter(string $key, ?string $value = null): Url
396 * @return Url - add the scheme and the host based on the request if not present
398 public function toAbsoluteUrl(): Url
495 public function equals(Url $expectedUrl)
567 public function setScheme(string $scheme): Url
573 public function setHost($host): Url
584 public function setFragment(string $fragment): Url
593 public function getQueryString($ampersand = Url::AMPERSAND_CHARACTER): string
701 function getParent(): Url
721 function toAbsolutePath(): Url
726 function resolve(string $name): Url
747 public function toString(string $ampersand = Url::AMPERSAND_CHARACTER): string
876 * @return Url
878 public function addQueryParameterIfNotActualSameValue(string $key, string $value): Url
893 function getUrl(): Url
900 return $this->toString(Url::AMPERSAND_URL_ENCODED_FOR_HTML);
925 * @return Url
927 public function setQueryParameter(string $key, string $value): Url
962 $localHost = Url::createEmpty()->setPath("/")->toAbsoluteUrl()->getHost();
992 return new Url($uri);
995 public function deleteQueryProperties(): Url
1001 public function withoutRewrite(): Url