Skip to content

Kirby 5.0.4

$uri->setUsername()

$uri->setUsername(string|null $username = null): Kirby\Http\Uri

Parameters

Name Type Default
$username stringornull null

Return type

Kirby\Http\Uri

This method modifies the existing $uri object it is applied to and returns it again.

Parent class

Kirby\Http\Uri