Skip to content

Kirby 4.1.2

$language->clone()

Creates an instance with the same initial properties.

$language->clone(array $props = [ ]): Kirby\Cms\Language

Parameters

Name Type Default
$props array [ ]

Return type

Kirby\Cms\Language

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

Parent class

Kirby\Cms\Language