Skip to content

Kirby 3.9.8

$arguments->findBy()

Find a single element by an attribute and its value

$arguments->findBy(string $attribute, mixed $value): mixed|null

Parameters

Name Type Default
$attribute * string
$value * mixed

Return type

mixed|null

Parent class

Kirby\Query\Arguments inherited from Kirby\Toolkit\Collection