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