$uri->base()
Returns the base url (scheme + host) without trailing slash
$uri->base(): string|null
Return types
string
ornull
This method modifies the existing $uri
object it is applied to and returns it again.
Returns the base url (scheme + host) without trailing slash
$uri->base(): string|null
string
ornull
This method modifies the existing $uri
object it is applied to and returns it again.