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