Skip to content

Kirby 5.0.4

$options->find()

Find one or multiple elements by id

$options->find(string ...$keys): Kirby\Option\Option|Kirby\Option\Options

Parameters

Name Type Default
...$keys string no default value

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