Skip to content

Kirby 4.4.1

$uri->setParams()

$uri->setParams(Kirby\Http\Params|array|string|false|null $params = null): Kirby\Http\Uri

Parameters

Name Type Default
$params Kirby\Http\Params|array|string|false|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