Skip to content

Kirby 5.0.4

$path->find()

Find one or multiple elements by id

$path->find(string ...$keys): string|Kirby\Http\Path

Parameters

Name Type Default
...$keys string no default value

Return types

stringorKirby\Http\Path

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

Parent class

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