Skip to content

Kirby 6.0.0

OptionsQuery::factory()

Creates a new instance from the query or an array of props

OptionsQuery::factory(array|string $props): OptionsQuery

Parameters

Name Type Default
$propsrequired arrayorstring no default value

Return type

Kirby\Option\OptionsQuery

Parent class

Kirby\Option\OptionsQuery