Skip to content

Kirby 4.4.1

$uri->setPath()

$uri->setPath(Kirby\Http\Path|array|string|null $path = null): Kirby\Uuid\Uri

Parameters

Name Type Default
$path Kirby\Http\Path|array|string|null null

Return type

Kirby\Uuid\Uri

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

Parent class

Kirby\Uuid\Uri inherited from Kirby\Http\Uri