Skip to content

Kirby 4.5.0

$path->clone()

Returns a cloned instance of the collection

$path->clone(): Kirby\Http\Path

Return type

Kirby\Http\Path

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

Parent class

Kirby\Http\Path inherited from Kirby\Toolkit\Collection