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 |