Skip to content

Kirby 5.3.0

$lazyCollection->find()

Find one or multiple elements by id

$lazyCollection->find(string ...$keys): TValue|Kirby\Cms\LazyCollection

Parameters

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

Return types

TValueorKirby\Cms\LazyCollection

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

Parent class

Kirby\Cms\LazyCollection inherited from Kirby\Toolkit\Collection