Skip to content

Kirby 4.5.0

$uri->setPassword()

$uri->setPassword(?string $password = null): Kirby\Http\Uri

Parameters

Name Type Default
$password string|null null

Return type

Kirby\Http\Uri

This method does not modify the existing $uri object but returns a new object with the changes applied. Learn more →

Parent class

Kirby\Http\Uri