File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 1515use CodeIgniter \Superglobals ;
1616use Config \App ;
1717
18+ /**
19+ * Creates SiteURI using superglobals.
20+ *
21+ * This class also updates superglobal $_SERVER and $_GET.
22+ */
1823final 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 {
You can’t perform that action at this time.
0 commit comments