Skip to content

Kirby 4.5.0

$status->clone()

Creates a new instance while merging initial and new properties

$status->clone(array $props = [ ]): Kirby\Cms\Auth\Status

Parameters

Name Type Default
$props array [ ]

Return type

Kirby\Cms\Auth\Status

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

Parent class

Kirby\Cms\Auth\Status