Skip to content

Commit

Permalink
docs: add doc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Jul 28, 2023
1 parent d2ea74c commit b47fa76
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions system/HTTP/SiteURIFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
use CodeIgniter\Superglobals;
use Config\App;

/**
* Creates SiteURI using superglobals.
*
* This class also updates superglobal $_SERVER and $_GET.
*/
final class SiteURIFactory
{
private App $appConfig;
Expand Down Expand Up @@ -42,6 +47,7 @@ public function createFromGlobals(): SiteURI
* Create the SiteURI object from URI string.
*
* @internal Used for testing purposes only.
* @testTag
*/
public function createFromString(string $uri): SiteURI
{
Expand Down Expand Up @@ -79,6 +85,7 @@ public function createFromString(string $uri): SiteURI
* @return string The route path
*
* @internal Used for testing purposes only.
* @testTag
*/
public function detectRoutePath(string $protocol = ''): string
{
Expand Down

0 comments on commit b47fa76

Please sign in to comment.