Skip to content

Kirby 3.6.6

$body->clone()

Creates an instance with the same initial properties.

$body->clone(array $props = [ ]): Kirby\Email\Body

Parameters

Name Type Default
$props array [ ]

Return type

Kirby\Email\Body

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

Parent class

Kirby\Email\Body