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
Parent class
Kirby\Option\ProtectedOption
inherited from Kirby\Option\Option