$collection->find()
Find one or multiple elements by id
$collection->find(string ...$keys): TValue|Kirby\Cms\Collection
Parameters
| Name | Type | Default |
|---|---|---|
| ...$keys | string |
no default value |
Return types
TValueorKirby\Cms\Collection
This method does not modify the existing $collection object but returns a new object with the changes applied. Learn more →
Parent class
Kirby\Cms\Collection
inherited from Kirby\Toolkit\Collection