Skip to content

Kirby 6.0.0

ProtectedOption::factory()

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

Parameters

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

Return type

Kirby\Option\ProtectedOption

Parent class

Kirby\Option\ProtectedOption inherited from Kirby\Option\Option