Skip to content

Kirby 4.4.1

$email->clone()

Creates a new instance while merging initial and new properties

Deprecated in 4.0.0
$email->clone(array $props = [ ]): Kirby\Email\Email

Parameters

Name Type Default
$props array [ ]

Return type

Kirby\Email\Email

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

Parent class

Kirby\Email\Email