Skip to content

$optionsquery->clone()

Creates an instance with the same initial properties.

$optionsquery->clone(array $props = [ ]): Kirby\Form\OptionsQuery

Parameters

Name Type Default
$props array [ ]

Return type

Kirby\Form\OptionsQuery

This method does not modify the existing $optionsquery object but returns a new object with the changes applied. Learn more →

Parent class

Kirby\Form\OptionsQuery