Skip to content

Kirby 3.8.2

$email->clone()

Creates an instance with the same initial properties.

$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