Skip to content

Kirby 5.5.3

Option::factory()

Option::factory(array|string|int|float|null $props, bool $resolve = true): Kirby\Option\Option

Parameters

Name Type Default Description
$props arrayorstringorintorfloatornull no default value
$resolve bool true Deprecated, will be removed in v6

Return type

Kirby\Option\Option

Parent class

Kirby\Option\Option