Skip to content

Kirby 3.6.6

$uri->clone()

Clones the Uri object and applies optional new props.

$uri->clone(array $props = [ ]): Kirby\Http\Uri

Parameters

Name Type Default
$props array [ ]

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