$versions->find()
Find one or multiple elements by id
$versions->find(string ...$keys): Kirby\Content\Version|Kirby\Content\Versions
Parameters
Name | Type | Default |
---|---|---|
...$keys | string |
no default value |
Return types
Kirby\Content\Version
orKirby\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