$collection->find()
Find one or multiple elements by id
$collection->find(string|list ...$keys): mixed|Collection
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| ...$keys | stringorlist<string> |
no default value | One or more keys, or a single array of keys |
Return types
mixedorKirby\Toolkit\Collection
This method does not modify the existing $collection object but returns a new object with the changes applied. Learn more →