Skip to content

Kirby 6.0.0

$lazyCollection->find()

Find one or multiple elements by id

$lazyCollection->find(string|list ...$keys): mixed|LazyCollection

Parameters

Name Type Default
...$keys stringorlist<string> no default value

Return types

mixedorKirby\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