diff --git a/src/UrlType.php b/src/UrlType.php index 97d29e3..a5f1f52 100644 --- a/src/UrlType.php +++ b/src/UrlType.php @@ -69,6 +69,11 @@ public function getQueryString(): string return $this->url->getQuery(); } + public function getFragment(): string + { + return $this->url->getFragment(); + } + public function getPath(): string { return $this->url->getPath();