$segments->find()
Find one or multiple elements by id
$segments->find(string ...$keys): Kirby\Query\Segment|Kirby\Query\Segments
Parameters
Name | Type | Default |
---|---|---|
...$keys | string |
no default value |
Return types
Kirby\Query\Segment
orKirby\Query\Segments
This method does not modify the existing $segments
object but returns a new object with the changes applied. Learn more →
Parent class
Kirby\Query\Segments
inherited from Kirby\Toolkit\Collection