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