Skip to content

Commit 9debafe

Browse files
author
Designcise
committed
Made RequestTrait::getNormalizedUriPath() method public
1 parent f131ece commit 9debafe

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "designcise/bitframe",
3-
"version": "1.0.6",
3+
"version": "1.0.7",
44
"description": "PHP PSR-15 / PSR-7 middleware dispatcher microframework",
55
"type": "library",
66
"keywords": ["Designcise", "BitFrame", "Microframework", "Framework", "Middleware Dispatcher", "PSR-7", "PSR-15"],

src/Message/RequestTrait.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,11 @@ public function isXhr()
162162
* defined for the folder root, this would attempt to normalize
163163
* the uri such that root folders are stripped from the path.
164164
*
165+
* Note: This method is not part of the PSR standard.
166+
*
165167
* @return string
166168
*/
167-
private function getNormalizedUriPath(): string
169+
public function getNormalizedUriPath(): string
168170
{
169171
$reqUriPath = $this->getUri()->getPath();
170172

0 commit comments

Comments
 (0)