From ea58e55514cbdbe443c9dedccef0c0bb02e43db8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Vesel=C3=BD?= Date: Tue, 12 Aug 2025 13:21:52 +0200 Subject: [PATCH] add url type get fragment method --- src/UrlType.php | 5 +++++ 1 file changed, 5 insertions(+) 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();