SiteURI.php
system/HTTP/SiteURI.php
1 class
19 methods
class SiteURI
URI for the application site
__construct
(App $configApp, string $relativePath = '', ?string $host = null, ?string $scheme = null, )
parseRelativePath
(string $relativePath)
determineBaseURL
(App $configApp, ?string $host, ?string $scheme, )
getIndexPageRoutePath
(string $routePath)
normalizeBaseURL
(App $configApp)
setBasePath
()
setBaseURL
(string $baseURL)
setURI
(?string $uri = null)
getBaseURL
()
getRoutePath
()
__toString
()
setPath
(string $path)
setRoutePath
(string $routePath)
convertToSegments
(string $path)
refreshPath
()
applyParts
(array $parts)
baseUrl
($relativePath = '', ?string $scheme = null)
stringifyRelativePath
($relativePath)
siteUrl
($relativePath = '', ?string $scheme = null, ?App $config = null)