Skip to content

Commit b47fa76

Browse files
committed
docs: add doc comments
1 parent d2ea74c commit b47fa76

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

system/HTTP/SiteURIFactory.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@
1515
use CodeIgniter\Superglobals;
1616
use Config\App;
1717

18+
/**
19+
* Creates SiteURI using superglobals.
20+
*
21+
* This class also updates superglobal $_SERVER and $_GET.
22+
*/
1823
final class SiteURIFactory
1924
{
2025
private App $appConfig;
@@ -42,6 +47,7 @@ public function createFromGlobals(): SiteURI
4247
* Create the SiteURI object from URI string.
4348
*
4449
* @internal Used for testing purposes only.
50+
* @testTag
4551
*/
4652
public function createFromString(string $uri): SiteURI
4753
{
@@ -79,6 +85,7 @@ public function createFromString(string $uri): SiteURI
7985
* @return string The route path
8086
*
8187
* @internal Used for testing purposes only.
88+
* @testTag
8289
*/
8390
public function detectRoutePath(string $protocol = ''): string
8491
{

0 commit comments

Comments
 (0)