Skip to content

Kirby 3.6.1.1

$image->clone()

Creates an instance with the same initial properties.

$image->clone(array $props = [ ]): Kirby\Image\Image

Parameters

Name Type Default
$props array [ ]

Return type

Kirby\Image\Image

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

Parent class

Kirby\Image\Image inherited from Kirby\Filesystem\File