Skip to content

Kirby 3.9.8

$optionsapi->clone()

Creates an instance with the same initial properties.

$optionsapi->clone(array $props = [ ]): Kirby\Form\OptionsApi

Parameters

Name Type Default
$props array [ ]

Return type

Kirby\Form\OptionsApi

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

Parent class

Kirby\Form\OptionsApi